Skip to content

Commit

Permalink
Fixed recently introduced bug with refreash being stuck on 1 minute.
Browse files Browse the repository at this point in the history
  • Loading branch information
iammrbt committed Mar 26, 2024
1 parent c1feaf3 commit 54f35c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cfUpdater.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def update_dns_record():
def auto_update():
global auto_update_flag
auto_update_flag = True
interval = 60 # Set interval directly to 60 seconds (1 minute)
interval = float(interval_entry.get()) * 60 # Convert minutes to seconds
while auto_update_flag:
for remaining in range(int(interval), 0, -1):
mins, secs = divmod(remaining, 60)
Expand Down

0 comments on commit 54f35c2

Please sign in to comment.