From 40218e02e192cf03f37006655540ddc5b6861a84 Mon Sep 17 00:00:00 2001 From: Jack Date: Sat, 7 Nov 2015 00:15:42 -0500 Subject: [PATCH] fixed a problem with publish --- lbrynet/lbrynet_console/ControlHandlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbrynet/lbrynet_console/ControlHandlers.py b/lbrynet/lbrynet_console/ControlHandlers.py index 171da8983..c1754b9e2 100644 --- a/lbrynet/lbrynet_console/ControlHandlers.py +++ b/lbrynet/lbrynet_console/ControlHandlers.py @@ -1705,7 +1705,7 @@ class Publish(CommandHandler): self.console.sendLine(message % (str(self.file_name), str(self.publish_name), err.getErrorMessage())) def _do_publish(self): - d = create_lbry_file(self.session, self.lbry_file_manager, self.file_name, open(self.file_name)) + d = create_lbry_file(self.session, self.lbry_file_manager, self.file_name, open(self.file_path)) d.addCallback(self.add_to_lbry_files) d.addCallback(lambda _: self._create_sd_blob()) d.addCallback(lambda _: self._claim_name())