mirror of
https://github.com/oskvr37/tiddl.git
synced 2026-06-13 12:15:13 +03:00
🐛 fix SyntaxError
This commit is contained in:
+2
-2
@@ -45,8 +45,8 @@ def main():
|
||||
|
||||
time_to_expire = config["token_expires_at"] - t_now
|
||||
days, hours = time_to_expire // (24 * 3600), time_to_expire % (24 * 3600) // 3600
|
||||
days_text = f" {days} {"day" if days == 1 else "days"}" if days else ""
|
||||
hours_text = f" {hours} {"hour" if hours == 1 else "hours"}" if hours else ""
|
||||
days_text = f" {days} {'day' if days == 1 else 'days'}" if days else ""
|
||||
hours_text = f" {hours} {'hour' if hours == 1 else 'hours'}" if hours else ""
|
||||
print(f"✅ Token good for{days_text}{hours_text}")
|
||||
|
||||
api = TidalApi(
|
||||
|
||||
Reference in New Issue
Block a user