Skip to content

Commit 1ce916a

Browse files
author
szwerver
committed
fix in try again
1 parent ad95e08 commit 1ce916a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CommunicationHandler.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def send_friendly_request(self):
108108
elif result == 'try again': # update timestamp in the database to new time
109109
# newtime is in absolute hours, convert to datetime structure
110110
print('[CommHandler][send_friendly_request] Try again at hour:', newtime)
111-
newday, newtime = self.dataHandler.hour_to_date(newtime)
111+
newday, newtime = self.dataHandler.hour_to_date(int(newtime))
112112
print('[CommHandler][send_friendly_request] Try again at date:', newday, newtime)
113113

114114
cursor.execute(

0 commit comments

Comments
 (0)