mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-17 06:00:42 +01:00
Handled Windows' timeout number on socket.error.
This commit is contained in:
parent
0b9d7bd0bb
commit
b1f424d1ed
@ -202,7 +202,7 @@ class Debian(callbacks.Privmsg, plugins.PeriodicFileDownloader):
|
||||
irc.error(msg, 'I couldn\'t reach the search page (%s).' % e)
|
||||
return
|
||||
except socket.error, e:
|
||||
if e.args[0] == 110:
|
||||
if e.args[0] == 110 or e.args[0] == 10060:
|
||||
irc.error(msg, 'Connection timed out to packages.debian.org.')
|
||||
return
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user