mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
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
Block a user