Implementing ruff suggestions.

This commit is contained in:
erinhmclark
2025-03-10 21:45:30 +00:00
parent ca44a40b88
commit e7fa88f1c7
16 changed files with 36 additions and 48 deletions

View File

@@ -123,6 +123,6 @@ class Media:
try:
fsize = os.path.getsize(self.filename)
return fsize > 20_000
except:
except Exception as e:
pass
return True