Commit e5f7985b authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼 Committed by Thomas Gambier

networkcache: fix upload_network_cached in python3

parent 3853b94e
......@@ -160,7 +160,7 @@ def upload_network_cached(software_root, software_url, cached_key,
os=distribution_tuple(),
)
f = open(path, 'r')
f = open(path, 'rb')
# convert '' into None in order to call nc nicely
if not signature_private_key_file:
signature_private_key_file = 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