More changes for python3 and improved logging/debugging. This ~works.
[kiosk.git] / chooser.py
index f6a9a497d3cd6c1205e6e31e81cee340c7056247..df662da35a930a83d5d41860b24f44145f023d66 100644 (file)
@@ -25,7 +25,7 @@ class chooser(object):
                         os.path.join(constants.pages_dir, page)))
                     age = (now - last_modified)
                     if (age > freshness_requirement):
-                        print(('"%s" is too old.' % page))
+                        print(('chooser: "%s" is too old.' % page))
                         continue
                 filenames.append(page)
         return filenames