Explorar el Código

Getting tired

Foppe Hemminga hace 6 años
padre
commit
c60e530563
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      data.py

+ 1 - 1
data.py

@@ -43,7 +43,7 @@ timestamp_latest = res.timestamp
 with open('timestamp.txt', 'r+') as f:
     timestamp_stored = f.read()
     print(timestamp_stored)
-    if timestamp_latest > timestamp_stored:
+    if timestamp_latest > int(timestamp_stored):
         # print(timestamp_latest)
         f.write("{}".format(timestamp_latest))
     else: