1
0
mirror of https://git.sr.ht/~cadence/NewLeaf synced 2024-09-20 18:47:30 +00:00

Remove useless print

This commit is contained in:
Cadence Ember 2020-08-31 03:12:01 +12:00
parent 0a6a07838d
commit cc20223465
No known key found for this signature in database
GPG Key ID: 128B99B1B74A6412

View File

@ -169,7 +169,6 @@ def past_text_to_time(text):
def time_to_past_text(timestamp): def time_to_past_text(timestamp):
now = int(time.time()) now = int(time.time())
diff = now - timestamp diff = now - timestamp
print(diff, type(diff))
units = [ units = [
["year", 365 * 24 * 60 * 60], ["year", 365 * 24 * 60 * 60],
["month", 30 * 24 * 60 * 60], ["month", 30 * 24 * 60 * 60],