fix linter

This commit is contained in:
simon 2023-02-03 14:57:57 +07:00
parent 4bab1a9815
commit f8b0977a7f
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

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