mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Handle the case where the suffix is in the name itself.
This commit is contained in:
parent
882b872d7c
commit
1d54f0ec22
@ -83,6 +83,9 @@ class DBHandler(object):
|
||||
self.cachedDb = None
|
||||
|
||||
def makeFilename(self):
|
||||
if self.name.endswith(self.suffix):
|
||||
return self.name
|
||||
else:
|
||||
return self.name + self.suffix
|
||||
|
||||
def makeDb(self, filename):
|
||||
|
Loading…
Reference in New Issue
Block a user