mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-03-12 12:35:28 -07:00
Fix flake8 E265 block comment should start with '# '
This commit is contained in:
parent
5f633b931a
commit
a571fc3122
core/utils
@ -90,13 +90,13 @@ def find_imdbid(dir_name, input_name, omdb_api_key):
|
||||
def category_search(input_directory, input_name, input_category, root, categories):
|
||||
tordir = False
|
||||
|
||||
#try:
|
||||
# try:
|
||||
# input_name = input_name.encode(core.SYS_ENCODING)
|
||||
#except Exception:
|
||||
# except Exception:
|
||||
# pass
|
||||
#try:
|
||||
# try:
|
||||
# input_directory = input_directory.encode(core.SYS_ENCODING)
|
||||
#except Exception:
|
||||
# except Exception:
|
||||
# pass
|
||||
|
||||
if input_directory is None: # =Nothing to process here.
|
||||
|
@ -20,9 +20,9 @@ def sanitize_name(name):
|
||||
|
||||
# remove leading/trailing periods and spaces
|
||||
name = name.strip(' .')
|
||||
#try:
|
||||
# try:
|
||||
# name = name.encode(core.SYS_ENCODING)
|
||||
#except Exception:
|
||||
# except Exception:
|
||||
# pass
|
||||
|
||||
return name
|
||||
|
Loading…
x
Reference in New Issue
Block a user