fix unicode error
This commit is contained in:
parent
839d680a28
commit
d24e9b751d
|
@ -79,6 +79,8 @@ class IRCCore(object):
|
||||||
except (ConnectionResetError, asyncio.streams.IncompleteReadError):
|
except (ConnectionResetError, asyncio.streams.IncompleteReadError):
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
break
|
break
|
||||||
|
except (UnicodeDecodeError, ):
|
||||||
|
traceback.print_exc()
|
||||||
self.fire_hook("_DISCONNECT")
|
self.fire_hook("_DISCONNECT")
|
||||||
self.writer.close()
|
self.writer.close()
|
||||||
if self.alive:
|
if self.alive:
|
||||||
|
|
4
setup.py
4
setup.py
|
@ -1,10 +1,10 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
__version__ = "4.0.0-r02"
|
__version__ = "4.0.0-r03"
|
||||||
|
|
||||||
setup(name='pyircbot',
|
setup(name='pyircbot',
|
||||||
version='4.0.0-r02',
|
version='4.0.0-r03',
|
||||||
description='A modular python irc bot',
|
description='A modular python irc bot',
|
||||||
url='http://gitlab.xmopx.net/dave/pyircbot3/tree/master',
|
url='http://gitlab.xmopx.net/dave/pyircbot3/tree/master',
|
||||||
author='dpedu',
|
author='dpedu',
|
||||||
|
|
Loading…
Reference in New Issue