rundaca2.py: better error output

This commit is contained in:
Daniel Marjamäki 2018-06-29 11:27:49 +02:00
parent 0ba23c28bf
commit 535526680c
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ def upload(localfolder, webfolder):
child.interact() child.interact()
return return
except (IOError, OSError, pexpect.TIMEOUT, pexpect.EOF): except (IOError, OSError, pexpect.TIMEOUT, pexpect.EOF):
print('Sleep for 10 seconds..') print('rundaca2.py: Upload failed. Sleep for 10 seconds..')
time.sleep(10) time.sleep(10)
tries = tries + 1 tries = tries + 1