mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-20 01:19:26 +01:00
ChannelLogger: Fix Python 2 compatibility.
This commit is contained in:
parent
38405e8d87
commit
29944234e4
@ -29,7 +29,10 @@
|
|||||||
###
|
###
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
import sys
|
||||||
import time
|
import time
|
||||||
|
if sys.version_info[0] < 3:
|
||||||
|
from io import open
|
||||||
from cStringIO import StringIO
|
from cStringIO import StringIO
|
||||||
|
|
||||||
import supybot.conf as conf
|
import supybot.conf as conf
|
||||||
|
Loading…
Reference in New Issue
Block a user