]> git.phdru.name Git - xsetbg.git/blobdiff - xsetbg_db.py
Fix(py3): Use `configparser` instead of `ConfigParser`
[xsetbg.git] / xsetbg_db.py
index e64440ae7b045730e6adee16031b675455cdd1eb..85cecc289f2b440df531adc1ee86e227ef9bac7f 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 """XSetBg database
 
 """
@@ -11,7 +11,7 @@ from xsetbg_conf import xsetbg_conf
 __all__ = ['xsetbg_db_path', 'xsetbg_db']
 
 # octal; -rw-------; make the database file(s) readable only by the user
-os.umask(0066)
+os.umask(0o066)
 
 
 class XSetBg(SQLObject):