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