mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11: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,7 +83,10 @@ class DBHandler(object):
|
|||||||
self.cachedDb = None
|
self.cachedDb = None
|
||||||
|
|
||||||
def makeFilename(self):
|
def makeFilename(self):
|
||||||
return self.name + self.suffix
|
if self.name.endswith(self.suffix):
|
||||||
|
return self.name
|
||||||
|
else:
|
||||||
|
return self.name + self.suffix
|
||||||
|
|
||||||
def makeDb(self, filename):
|
def makeDb(self, filename):
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
Loading…
Reference in New Issue
Block a user