Fix flake8 E265 block comment should start with '# '

This commit is contained in:
Labrys of Knossos 2019-04-05 12:42:46 -04:00
parent 5f633b931a
commit a571fc3122
2 changed files with 6 additions and 6 deletions

@ -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