mirror of
https://github.com/bellingcat/auto-archiver.git
synced 2026-06-08 03:18:28 +03:00
revert metadata json renaming
This commit is contained in:
@@ -100,12 +100,7 @@ class Storage(BaseModule):
|
||||
|
||||
# Handle filename_generator logic
|
||||
filename_generator = self.filename_generator
|
||||
# DM 9th Jun 25 - special case for metadata.json file in metadata_json_enricher
|
||||
# where we want the filename to remain metadata.json
|
||||
# TODO - should this be a config option to keep the original filename? Is it useful anywhere else?
|
||||
if filename.endswith('metadata'):
|
||||
filename = 'metadata'
|
||||
elif filename_generator == "random":
|
||||
if filename_generator == "random":
|
||||
filename = random_str(24)
|
||||
elif filename_generator == "static":
|
||||
# load the hash_enricher module
|
||||
|
||||
Reference in New Issue
Block a user