fix file_delete log from throwing exception on unicode file_name

This commit is contained in:
Kay Kurokawa 2017-06-15 15:58:32 -04:00
parent 0b5051823f
commit 114f6ef8f8

View file

@ -1626,7 +1626,7 @@ class Daemon(AuthJSONRPCServer):
del self.streams[lbry_file.claim_id]
yield self.lbry_file_manager.delete_lbry_file(lbry_file,
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
response = yield self._render_response(result)