Skip to content

Commit

Permalink
requirements and bytes/string
Browse files Browse the repository at this point in the history
  • Loading branch information
jackrobison committed Aug 24, 2018
1 parent 584433e commit 5a1f551
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion lbrynet/lbry_file/client/EncryptedFileDownloader.py
Expand Up @@ -22,7 +22,7 @@ def __init__(self, stream_hash, peer_finder, rate_limiter, blob_manager,
payment_rate_manager, wallet, key, stream_name)
self.stream_hash = stream_hash
self.storage = storage
self.file_name = os.path.basename(unhexlify(file_name))
self.file_name = os.path.basename(unhexlify(file_name).decode())
self._calculated_total_bytes = None

@defer.inlineCallbacks
Expand Down
5 changes: 2 additions & 3 deletions requirements.txt
@@ -1,10 +1,10 @@
certifi==2018.4.16
Twisted==16.6.0
Twisted==18.7.0'=
cryptography==2.3
appdirs==1.4.3
argparse==1.2.1
docopt==0.6.2
base58==0.2.2
base58==1.0.0
colorama==0.3.7
dnspython==1.12.0
ecdsa==0.13
Expand All @@ -23,7 +23,6 @@ service_identity==16.0.0
six>=1.9.0
slowaes==0.1a1
txJSON-RPC==0.5
zope.interface==4.3.3
treq==17.8.0
typing
git+https://github.com/lbryio/torba.git#egg=torba
2 changes: 1 addition & 1 deletion requirements_testing.txt
@@ -1,3 +1,3 @@
mock>=2.0,<3.0
Faker==0.8
Faker==0.8.17
git+https://github.com/lbryio/orchstr8.git#egg=orchstr8
7 changes: 4 additions & 3 deletions setup.py
Expand Up @@ -23,10 +23,10 @@
},
install_requires=[
'aiohttp',
'twisted[tls]>=18.7.0',
'twisted[tls]==18.7.0',
'appdirs',
'distro',
'base58',
'base58==1.0.0',
'envparse',
'jsonrpc',
'cryptography',
Expand All @@ -44,7 +44,8 @@
extras_require={
'test': (
'mock>=2.0,<3.0',
'faker==0.8.17'
'faker==0.8.17',
'orchstr8>=0.0.4'
)
}
)

0 comments on commit 5a1f551

Please sign in to comment.