diff --git a/plugins/ChannelLogger/plugin.py b/plugins/ChannelLogger/plugin.py index 9b411dacd..097e6c25b 100644 --- a/plugins/ChannelLogger/plugin.py +++ b/plugins/ChannelLogger/plugin.py @@ -29,7 +29,10 @@ ### import os +import sys import time +if sys.version_info[0] < 3: + from io import open from cStringIO import StringIO import supybot.conf as conf