]> git.phdru.name Git - xsetbg.git/blobdiff - xsetbg_db.py
Style: Fix `flake8` error E999 SyntaxError: Missing parens in 'print'
[xsetbg.git] / xsetbg_db.py
index 406ca9609809caf9c77714a2b66e3091f0af7425..e64440ae7b045730e6adee16031b675455cdd1eb 100755 (executable)
@@ -57,7 +57,7 @@ class SQLiteMassInsert(object):
 db_dirs = []
 try:
     xsetbg_db_path = xsetbg_conf.get('xsetbg', 'database')
-except:
+except Exception:
     xsetbg_db_path = None
 
 if not xsetbg_db_path:
@@ -88,5 +88,5 @@ else:
     xsetbg_db = None
 
 if __name__ == '__main__':
-    print "DB dirs:", db_dirs
-    print "DB file:", xsetbg_db_path
+    print("DB dirs:", db_dirs)
+    print("DB file:", xsetbg_db_path)