From 1a182bc9bd38d92405427a5e1821d8dfc41261a4 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Fri, 10 May 2019 11:48:49 -0400 Subject: [PATCH] bytes/str --- lbrynet/extras/daemon/storage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lbrynet/extras/daemon/storage.py b/lbrynet/extras/daemon/storage.py index 9f55fa1ca..e68ba8af1 100644 --- a/lbrynet/extras/daemon/storage.py +++ b/lbrynet/extras/daemon/storage.py @@ -545,8 +545,8 @@ class SQLiteStorage(SQLiteMixin): "select stream_hash, download_directory, file_name from file where saved_file=1" ).fetchall(): if download_directory and file_name and os.path.isfile( - os.path.join(binascii.unhexlify(download_directory.encode()).decode(), - binascii.unhexlify(file_name.encode()).decode())): + os.path.join(binascii.unhexlify(download_directory).decode(), + binascii.unhexlify(file_name).decode())): continue else: removed.append((stream_hash,))