fix: aggiunta eccezione

This commit is contained in:
greko17
2019-09-24 23:30:47 +02:00
parent 80422ba730
commit 80328cc998
+2
View File
@@ -172,6 +172,8 @@ class Kdicc():
# per siti irraggiungibili senza DNS corretti # per siti irraggiungibili senza DNS corretti
#[Errno 111] Connection refused #[Errno 111] Connection refused
rslt['code'] = 111 rslt['code'] = 111
except:
rslt['code'] = 'Connection error'
return rslt return rslt
def view_Advise(self, txt = '' ): def view_Advise(self, txt = '' ):