fix unicode error

This commit is contained in:
dave 2017-10-12 23:35:42 -07:00
parent 839d680a28
commit d24e9b751d
2 changed files with 4 additions and 2 deletions

View File

@ -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:

View File

@ -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',