deleted print statement
This commit is contained in:
parent
bfb4feae18
commit
7ce1c8973b
@ -753,7 +753,6 @@ def updateEconomic(api_key, logf):
|
||||
try:
|
||||
for each in data['result']:
|
||||
try:
|
||||
print(each['actual'], each['previous'], each['forecast'])
|
||||
time = pytz.timezone('GMT').localize(datetime.strptime(each['date'], '%Y-%m-%dT%H:%M:%S.%fZ')).astimezone(timezone).strftime('%a %m/%d %H:%M%p')
|
||||
if datetime.now(timezone).strftime('%a %m/%d %H:%M%p') >= time:
|
||||
happened = True
|
||||
|
Loading…
Reference in New Issue
Block a user