summaryrefslogtreecommitdiff
path: root/quote.py
diff options
context:
space:
mode:
authorBrian Sherson <caretaker82@euclid.shersonb.net>2014-03-11 18:48:59 -0700
committerBrian Sherson <caretaker82@euclid.shersonb.net>2014-03-11 18:48:59 -0700
commit0b695d73168af6a8444e1c0a0f4e6b0f85506fc4 (patch)
tree8d225ac56cfb345b81e70e7f4c27df43d1ac4658 /quote.py
parent0ec6553cffaa4bf115efddf815caa7cea56527d7 (diff)
Major changes
Diffstat (limited to 'quote.py')
-rw-r--r--quote.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/quote.py b/quote.py
index 2243915..ee18660 100644
--- a/quote.py
+++ b/quote.py
@@ -44,7 +44,7 @@ class quote(object):
else:
channel.msg("%s: What am I removing?" % user.nick)
elif cmd == "--flush":
- with codecs.open(self.quotefile, "w", encoding=encoding) as f:
+ with codecs.open(self.quotefile, "w", encoding=self.encoding) as f:
for line in self.quotes:
print >>f, line
else: