Skip to content

Commit

Permalink
migrator: fixing a mistake in update_file
Browse files Browse the repository at this point in the history
Signed-off-by: Graeme Watt <graeme.watt@durham.ac.uk>
  • Loading branch information
GraemeWatt committed Sep 15, 2016
1 parent 5baae35 commit 7ad9ce9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hepdata/modules/records/migrator/api.py
Expand Up @@ -184,7 +184,7 @@ def update_file(inspire_id, recid, only_record_information=False, send_tweet=Fal
record_information = update_record(recid, updated_record_information)

if not only_record_information:
self.split_files(file_location, os.path.join(current_app.config['CFG_DATADIR'], inspire_id),
split_files(file_location, os.path.join(current_app.config['CFG_DATADIR'], inspire_id),
os.path.join(current_app.config['CFG_DATADIR'], inspire_id + ".zip"))
output_location = os.path.join(current_app.config['CFG_DATADIR'], inspire_id)

Expand Down

0 comments on commit 7ad9ce9

Please sign in to comment.