diff --git a/prismedia/utils.py b/prismedia/utils.py index fcea677..86d4a33 100644 --- a/prismedia/utils.py +++ b/prismedia/utils.py @@ -166,8 +166,8 @@ def parseNFO(options): elif isfile(video_directory + "/" + "NFO.txt"): nfo_txt = loadNFO(video_directory + "/" + "NFO.txt") - if isfile(video_directory + "/" + directory_name+ ".txt"): - nfo_directory = loadNFO(video_directory + "/" + directory_name+ ".txt") + if isfile(video_directory + "/" + directory_name + ".txt"): + nfo_directory = loadNFO(video_directory + "/" + directory_name + ".txt") if options.get('--name'): if isfile(video_directory + "/" + options.get('--name')): diff --git a/pyproject.toml b/pyproject.toml index 75186f0..bfd8876 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,6 +18,7 @@ keywords = ['peertube', 'youtube', 'prismedia'] [tool.poetry.dependencies] python = ">=3.5" +clint = "^0.5.1" configparser = "^3.7.1" docopt = "^0.6.2" future = "^0.17.1" @@ -46,4 +47,3 @@ prismedia = 'prismedia.upload:main' [build-system] requires = ["poetry>=0.12"] build-backend = "poetry.masonry.api" - diff --git a/requirements.txt b/requirements.txt index 59546a1..be9ff52 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,6 +7,7 @@ certifi==2020.4.5.1 \ chardet==3.0.4 \ --hash=sha256:fc323ffcaeaed0e0a02bf4d117757b98aed530d9ed4531e3e15460124c106691 \ --hash=sha256:84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae +clint==0.5.1 configparser==3.8.1 \ --hash=sha256:45d1272aad6cfd7a8a06cf5c73f2ceb6a190f6acc1fa707e7f82a4c053b28b18 \ --hash=sha256:bc37850f0cc42a1725a796ef7d92690651bf1af37d744cc63161dac62cabee17