We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c8617e commit e9f1bf8Copy full SHA for e9f1bf8
scripts/add_file.py
@@ -51,6 +51,8 @@ def add_file(recid, fp, user):
51
fg='green'))
52
53
if click.confirm(u'Continue?'):
54
+ if record['files']['enabled'] == False:
55
+ record.files.enabled=True
56
bucket.locked = False
57
record.files[key] = fp
58
bucket.locked = True
0 commit comments