Skip to content
Snippets Groups Projects
Commit 9d05d47c authored by Florent Thiery's avatar Florent Thiery
Browse files

fix search request to avoid reuploading, refs #26945

parent a0076fbd
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ if __name__ == '__main__':
print(msc.api('/', method='get'))
basename = os.path.basename(args.url)
r = msc.api('/search', method='get', data={'search': basename})
r = msc.api('/search', method='get', params={'search': basename})
if r.get('videos'):
print('Video %s seems to be already present on the portal, not reuploading' % basename)
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment