Commit fc70329d authored by James Valleroy's avatar James Valleroy

backups: Use valid filename for manifest

Signed-off-by: James Valleroy's avatarJames Valleroy <jvalleroy@mailbox.org>
parent 474b9f8e
......@@ -81,7 +81,8 @@ def _backup_handler(packet):
if not os.path.exists(MANIFESTS_FOLDER):
os.makedirs(MANIFESTS_FOLDER)
manifest_path = MANIFESTS_FOLDER + packet.label + '.json'
manifest_path = MANIFESTS_FOLDER + get_valid_filename(
packet.label) + '.json'
manifests = [{
'name': x[0],
'version': x[1].version,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment