Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

Commit 0ae66fe

Browse files
committed
Reverted order of int casting to prevent divide by zero errors
1 parent 62a5039 commit 0ae66fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,9 +261,9 @@ def checkOutput(fileName, waitTime = 1, timeOut = 30):
261261
if it exists, returns True
262262
default is 1 minute with a max timeOut of 30 minutes
263263
'''
264-
waitTime = int(waitTime)*60
264+
waitTime = int(waitTime*60)
265265

266-
timeOut = int(timeOut)*60
266+
timeOut = int(timeOut*60)
267267

268268
maxTicker = timeOut/waitTime
269269
ticker = 0

0 commit comments

Comments
 (0)