diff --git a/lib/app.py b/lib/app.py index 919f01e..836c6c6 100644 --- a/lib/app.py +++ b/lib/app.py @@ -33,7 +33,7 @@ def main_path(self): @property def loadable(self): - return filesystem.is_file(self.main_path) and os.size(self.main_path) > 0 + return filesystem.is_file(self.main_path) and os.stat(self.main_path)[6] > 0 @property def description(self):