refactors and cleanup

This commit is contained in:
alfrix
2022-10-14 13:27:01 -03:00
parent e208873e46
commit 1305b40c41
8 changed files with 12 additions and 27 deletions

View File

@@ -135,10 +135,8 @@ class KlippyFiles:
return filename in self.filelist
def file_metadata_exists(self, filename):
if not self.file_exists(filename):
return False
if "slicer" in self.files[filename]:
return True
if self.file_exists(filename):
return "slicer" in self.files[filename]
return False
def get_thumbnail_location(self, filename, small=False):