mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-21 06:13:39 +00:00
fix space errors
This commit is contained in:
parent
8008c5ff9f
commit
b71db2b094
4 changed files with 36 additions and 36 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue