Open adamshamsudeen opened 6 years ago
Right now I'm doing this to standardise the output form encrypt_path()
keys_as_tup = encrypt_path('.')
keys = {}
for tup in keys_as_tup:
keys[os.path.basename(tup[0])] = tup[1]
Can I have a PR to return keys as dict?
Why not...
dict(encrypt_path('.'))
encrypt_path returns a tuple of file location and key whereas the PYCEPathFinder.KEYS accepts a dictionary.