1
0
mirror of http://aero2k.de/t/repos/urlbot-native.git synced 2017-09-06 15:25:38 +02:00

hopefully fix "TypeError: argument of type 'URLError' is not iterable"

This commit is contained in:
urlbot
2015-07-28 22:57:24 +02:00
parent 136a434156
commit 4a12bc40a3

View File

@@ -922,7 +922,7 @@ def command_dsa_watcher(argv, **args):
log.plugin(msg)
out.append(msg)
else:
if not '404' in err:
if not '404' in str(err):
msg = 'error for %s: %s' % (url, err)
log.warn(msg)
out.append(msg)