Browse Source

debug prints

Foppe Hemminga 6 năm trước cách đây
mục cha
commit
9bb526ced5
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      data.py

+ 3 - 0
data.py

@@ -42,9 +42,12 @@ timestamp_latest = res.timestamp
 
 with open('timestamp.txt', 'w+') as f:
     timestamp_stored = f.read() or 0
+    print(timestamp_stored)
     if timestamp_latest != timestamp_stored:
+        print(timestamp_latest)
         f.write("{}".format(timestamp_latest))
     else:
+        print(timestamp_latest)
         # Exit when there is nothing to do
         sys.exit()