From 0b695d73168af6a8444e1c0a0f4e6b0f85506fc4 Mon Sep 17 00:00:00 2001 From: Brian Sherson Date: Tue, 11 Mar 2014 18:48:59 -0700 Subject: Major changes --- quote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'quote.py') 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: -- cgit v1.2.3