Commit d8ae39fb authored by Łukasz Nowak's avatar Łukasz Nowak

Log while uploading.

parent 41c59a92
......@@ -102,6 +102,8 @@ def upload_network_cached(dir_url, cache_url, external_url, path, logger):
if not (dir_url and cache_url):
return False
logger.info('Uploading %s into network cache.' % external_url)
file_name = external_url.split('/')[-1].split('#')[0].split('?')[0]
directory_key = get_directory_key(external_url)
kw = dict(file=file_name,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment