fix linter

This commit is contained in:
simon
2023-02-03 14:57:57 +07:00
parent 4bab1a9815
commit f8b0977a7f

View File

@@ -143,7 +143,6 @@ class ElasticBackup:
backup_dir = os.path.join(self.cache_dir, "backup")
for json_f in zip_content:
file_name = os.path.join(backup_dir, json_f)
if not json_f.startswith("es_") or not json_f.endswith(".json"):