mirror of https://github.com/Mikaela/Limnoria.git
No need for backups on these ChannelUserDBs.
This commit is contained in:
parent
e4f15ae1b3
commit
6c8071da48
|
@ -323,7 +323,7 @@ class ChannelUserDB(ChannelUserDictionary):
|
||||||
log.debug('Exception: %s', utils.exnToString(e))
|
log.debug('Exception: %s', utils.exnToString(e))
|
||||||
|
|
||||||
def flush(self):
|
def flush(self):
|
||||||
fd = utils.transactionalFile(self.filename)
|
fd = utils.transactionalFile(self.filename, makeBackupIfSmaller=False)
|
||||||
writer = csv.writer(fd)
|
writer = csv.writer(fd)
|
||||||
items = self.items()
|
items = self.items()
|
||||||
if not items:
|
if not items:
|
||||||
|
|
Loading…
Reference in New Issue