timezone utc
This commit is contained in:
@@ -248,7 +248,7 @@ if __name__ == '__main__':
|
||||
current_hour = current_time.hour
|
||||
print("Current hour ", current_time.hour)
|
||||
print("Current minute ", current_time.minute)
|
||||
if current_hour > 20 or current_hour < 9:
|
||||
if current_hour > 18 or current_hour < 7:
|
||||
delay = 3600
|
||||
print("wait for {} seconds".format(delay))
|
||||
time.sleep(delay)
|
||||
|
||||
Reference in New Issue
Block a user