remove str

This commit is contained in:
Jack 2016-10-18 17:11:45 -04:00
parent d860c2a2b4
commit 03877f7ebd

View file

@ -2019,7 +2019,7 @@ class Daemon(jsonrpc.JSONRPC):
if not file_path:
return defer.fail(Exception("No file given to publish"))
if not os.path.isfile(file_path):
return defer.fail(Exception("Specified file for publish doesnt exist: %s" % str(file_path)))
return defer.fail(Exception("Specified file for publish doesnt exist: %s" % file_path))
if not self.pending_claim_checker.running:
self.pending_claim_checker.start(30)