diff --git a/core/utils/identification.py b/core/utils/identification.py
index 7a48ec87..5aada2c1 100644
--- a/core/utils/identification.py
+++ b/core/utils/identification.py
@@ -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.
diff --git a/core/utils/naming.py b/core/utils/naming.py
index 8b3e6971..ab8d9174 100644
--- a/core/utils/naming.py
+++ b/core/utils/naming.py
@@ -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