fixed accidentally defining file_tags_or_hash inside a modifier

master
BodgeMaster 2021-12-12 09:43:03 +01:00
parent 9b836707d3
commit f66573b1ae
1 changed files with 1 additions and 1 deletions

View File

@ -365,8 +365,8 @@ if __name__ == "__main__":
print("Verifying container settings failed.", file=sys.stderr)
sys.exit(status)
file_tags_or_hash = sys.argv[3:]
if not 'tags' in command:
file_tags_or_hash = sys.argv[3:]
if file_is_in_storage(storage_directory, file_tags_or_hash[0], compress):
tags = get_tags_by_hash(storage_directory, file_tags_or_hash[0])
print("Tags for file:")