Fix #78 - load files from different server

This commit is contained in:
Hugvey Central Command 2019-11-15 17:37:43 +01:00
parent bb7020288d
commit 654752bf42
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ class CommandHandler(object):
#: var response: http.client.HTTPResponse
response = urllib.request.urlopen(file, timeout=4)
fetchend = time.time()
logger.info("Fetched {} in {}s".format(file, fetchend-start))
logger.info("Fetched {} in {:.4f}s".format(file, fetchend-start))
if fetchend-start > 1:
logger.warning("Super slow fetching of {} in {}s".format(file, fetchend-start))
if response.getcode() != 200: