Skip to content

Commit

Permalink
load_state / load_stateprovider have options now
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasheinrich committed Oct 19, 2017
1 parent ce6ee4c commit 9848ea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packtivity/backendutils.py
Expand Up @@ -14,7 +14,7 @@ def load_proxy(jsondata, deserialization_opts = None, best_effort_backend = True
proxy, backend = None, None

if 'proxy' in deserialization_opts:
proxystring = deserialization_opts.pop('proxy')
proxystring = deserialization_opts.get('proxy','')
if proxystring.startswith('py:'):
_, module, proxyclass = proxystring.split(':')
module = importlib.import_module(module)
Expand Down

0 comments on commit 9848ea0

Please sign in to comment.