kopia lustrzana https://github.com/bellingcat/auto-archiver
revert metadata json renaming
rodzic
33cca734d9
commit
6085a66c58
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue