Fix to excess asset query
This commit is contained in:
committed by
Sarina Canelake
parent
ade82c2d05
commit
acc02b0e09
@@ -171,7 +171,7 @@ def remove_transcripts_from_store(_step, subs_id):
|
||||
)
|
||||
try:
|
||||
content = contentstore().find(content_location)
|
||||
contentstore().delete(content.get_id())
|
||||
contentstore().delete(content.location)
|
||||
print('Transcript file was removed from store.')
|
||||
except NotFoundError:
|
||||
print('Transcript file was NOT found and not removed.')
|
||||
|
||||
Reference in New Issue
Block a user