forked from LBRYCommunity/lbry-sdk
a15d7ca543
Nested functions are the devil, especially ones that use variables from the outer scope. Refactoring _download_name to use a helper class helps make the scoping more explicit and will undoubtably prevent bugs in the future. I think this makes _download_name drastically more readable. Also cleaned up some duplicated code and made download_directory respect the passed in parameter instead of being the default. |
||
---|---|---|
.. | ||
core | ||
cryptstream | ||
db_migrator | ||
dht | ||
lbryfile | ||
lbryfilemanager | ||
lbrylive | ||
lbrynet_console | ||
lbrynet_daemon | ||
pointtraderclient | ||
winhelpers | ||
__init__.py | ||
conf.py | ||
create_network.py | ||
dht_scripts.py | ||
dhttest.py | ||
interfaces.py | ||
node_rpc_cli.py | ||
rpc_node.py |