mirror of https://github.com/Mikaela/Limnoria.git
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
|
||||
|
||||
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):
|
||||
raise NotImplementedError
|
||||
|
|
Loading…
Reference in New Issue