forked from LBRYCommunity/lbry-sdk
fix file_delete log from throwing exception on unicode file_name
This commit is contained in:
parent
0b5051823f
commit
114f6ef8f8
1 changed files with 1 additions and 1 deletions
|
@ -1626,7 +1626,7 @@ class Daemon(AuthJSONRPCServer):
|
||||||
del self.streams[lbry_file.claim_id]
|
del self.streams[lbry_file.claim_id]
|
||||||
yield self.lbry_file_manager.delete_lbry_file(lbry_file,
|
yield self.lbry_file_manager.delete_lbry_file(lbry_file,
|
||||||
delete_file=delete_from_download_dir)
|
delete_file=delete_from_download_dir)
|
||||||
log.info("Deleted %s (%s)", file_name, utils.short_hash(stream_hash))
|
log.info("Deleted file: %s", file_name)
|
||||||
result = True
|
result = True
|
||||||
|
|
||||||
response = yield self._render_response(result)
|
response = yield self._render_response(result)
|
||||||
|
|
Loading…
Reference in a new issue