Commit cfea2f15 authored by Rudel Fankep's avatar Rudel Fankep
Browse files

save_Remote namensänderung

parent 57834f7e
......@@ -227,10 +227,10 @@ def get_remote_metadata(args):
def save_remote_metadata(args, metaliste):
with open(path_maker(get_local_databases_directory(args),'dbman_remote_metadata.json'), 'w') as f:
with open(path_maker(get_local_databases_directory(args), 'dbman_remote_metadata.json'), 'w') as f:
json.dump(metaliste, f)
subprocess.run(['./upload_json.sh', get_local_databases_directory(args), 'dbman_remote_metadata.json', get_remote_databases_directory(args)])
os.remove(path_maker(get_local_databases_directory(args),'dbman_remote_metadata.json'))
os.remove(path_maker(get_local_databases_directory(args), 'dbman_remote_metadata.json'))
def get_remote_filename(args, 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