Commit a9a8e458 authored by Lucas Carvalho's avatar Lucas Carvalho

we need only the basename instead of entire path.

parent 3614c2e5
...@@ -110,7 +110,7 @@ class NetworkcacheClient(object): ...@@ -110,7 +110,7 @@ class NetworkcacheClient(object):
file_name = kw.get('file', None) file_name = kw.get('file', None)
if file_name is None: if file_name is None:
kw['file'] = file_descriptor.name kw['file'] = os.path.basename(file_descriptor.name)
sha512 = kw.get('sha512', None) sha512 = kw.get('sha512', None)
if sha512 is None: if sha512 is None:
......
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