deleted print statement

This commit is contained in:
Justin 2023-07-24 16:48:37 +08:00 committed by GitHub
parent bfb4feae18
commit 7ce1c8973b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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