Foppe Hemminga 6 سال پیش
والد
کامیت
9bb526ced5
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  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()