urllib2.URLError may not have attribute "reason"
This commit is contained in:
parent
fafb03c843
commit
7242261f16
|
@ -307,7 +307,7 @@ def handle(line, status):
|
||||||
try:
|
try:
|
||||||
status.login(line)
|
status.login(line)
|
||||||
except urllib2.URLError as e:
|
except urllib2.URLError as e:
|
||||||
error_page('FEHLER bei Kommunikation mit Server "%s"' % e.reason)
|
error_page('FEHLER bei Kommunikation mit Server "%s"' % str(e))
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|
Loading…
Reference in New Issue