fix space errors

This commit is contained in:
Julian Wöhrer 2022-01-02 01:01:09 +01:00
parent 8008c5ff9f
commit b71db2b094
4 changed files with 36 additions and 36 deletions

View file

@ -102,9 +102,9 @@ def run(typ,freq,data):
try:
urllib.request.urlopen(url)
except urllib.error.HTTPError as e:
logging.warning("HTTP response: %s", e.code)
logging.warning("HTTP response: %s", e.code)
except urllib.error.URLError as e:
logging.warning("HTTP-specific error: %s", e.args)
logging.warning("HTTP-specific error: %s", e.args)
except:
logging.error("cannot send HTTP request")