Show More
@@ -172,6 +172,10 b' def write_metadata_if_needed(event):' | |||||
172 | with open(metadata_destination, 'wb') as f: |
|
172 | with open(metadata_destination, 'wb') as f: | |
173 | f.write(ext_json.json.dumps(metadata)) |
|
173 | f.write(ext_json.json.dumps(metadata)) | |
174 |
|
174 | |||
|
175 | settings = event.app.registry.settings | |||
|
176 | if settings.get('metadata.skip'): | |||
|
177 | return | |||
|
178 | ||||
175 | try: |
|
179 | try: | |
176 | write() |
|
180 | write() | |
177 | except Exception: |
|
181 | except Exception: |
General Comments 0
You need to be logged in to leave comments.
Login now