mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Karma: Fix @dump. Closes GH-457.
This commit is contained in:
parent
9a23ba1cfa
commit
6524dfd8c9
@ -188,7 +188,7 @@ class SqliteKarmaDB(object):
|
|||||||
|
|
||||||
def dump(self, channel, filename):
|
def dump(self, channel, filename):
|
||||||
filename = conf.supybot.directories.data.dirize(filename)
|
filename = conf.supybot.directories.data.dirize(filename)
|
||||||
fd = utils.transactionalFile(filename)
|
fd = utils.file.AtomicFile(filename)
|
||||||
out = csv.writer(fd)
|
out = csv.writer(fd)
|
||||||
db = self._getDb(channel)
|
db = self._getDb(channel)
|
||||||
cursor = db.cursor()
|
cursor = db.cursor()
|
||||||
|
Loading…
Reference in New Issue
Block a user