mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-05 22:45:18 +00:00
some edits for code quallity
This commit is contained in:
parent
1c56509e25
commit
3c00628b2d
4 changed files with 6 additions and 6 deletions
|
|
@ -91,7 +91,8 @@ def run(typ,freq,data):
|
|||
logging.debug("send %s HTTP request", typ)
|
||||
|
||||
try:
|
||||
resp = urllib2.urlopen(url)
|
||||
#resp = urllib2.urlopen(url)
|
||||
urllib2.urlopen(url)
|
||||
except urllib2.HTTPError as e:
|
||||
logging.warning("HTTP response: %s", e.code)
|
||||
except urllib2.URLError as e:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue