Browse Source

fix unicode error

dave/xdcc
dave 4 years ago
parent
commit
d24e9b751d
  1. 2
      pyircbot/irccore.py
  2. 4
      setup.py

2
pyircbot/irccore.py

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

@ -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…
Cancel
Save