]> git.phdru.name Git - xsetbg.git/blobdiff - reload_db.py
Feat: Python 3
[xsetbg.git] / reload_db.py
index fe25e864781546343bd97233a1c87786913c161d..ffa0013b7b2803f7e850c8de6b62fb2dac0b74f8 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 """Reload a dump into DB
 
 This file is a part of XSetBg.
@@ -55,6 +55,6 @@ with SQLiteMassInsert() as txn:
 
 dump_file.close()
 
-print "New images:", count_new
-print "Existing images:", count_old
-print "Updated images:", count_updated
+print("New images:", count_new)
+print("Existing images:", count_old)
+print("Updated images:", count_updated)