I have a repl that loops and has a print statement:
print("Current UTC hour (target = 15-17): ", dt.datetime.utcnow().strftime("%H"))
It used to be set to:
(target = 15-16)
I just changed the code recently. All it is doing is printing in the console this information. The problem is that after I updated the print statement in the main.py file and waited for my repl to show the checkmark that it has updated, when I rerun the repl the print statement is old code! The print statement still says
(target = 15-16). I don’t understand why Repl.it is using the old information! I updated, I saved, why doesn’t it use the updated code?
I am using a Teams repl.
It should say:
(target = 15-17)
"Current UTC hour (target = 15-16): "
Steps to reproduce:
I let it save, run and even rerun and it still is using the old file.
Device (Android, iOS, n/a leave blank): Mac, Brave Browser
Plan (Free, Hacker, Pro Plan): Teams Pro