diff --git a/VERSION b/VERSION index 6e8bf73..17e51c3 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.1.0 +0.1.1 diff --git a/server.py b/server.py index 94512db..010299d 100755 --- a/server.py +++ b/server.py @@ -3,6 +3,7 @@ import logging import os import socket import time +from urllib import parse from flask import Flask, jsonify, request from sqlalchemy import Column, DateTime, Integer, String, create_engine, exc @@ -128,7 +129,7 @@ def add_video(): def handle_request(): video_url = request.args.get("url") if video_url: - video_url = urllib.parse.unquote(video_url) # Decode the URL + video_url = parse.unquote(video_url) # Decode the URL logging.info(f"Received URL: {video_url}") # Create the command to send to mpv