diff --git a/lbrynet/lbrynet_console/ControlHandlers.py b/lbrynet/lbrynet_console/ControlHandlers.py index 52ac944f1..7cef8fee2 100644 --- a/lbrynet/lbrynet_console/ControlHandlers.py +++ b/lbrynet/lbrynet_console/ControlHandlers.py @@ -1706,7 +1706,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()) @@ -2396,4 +2396,4 @@ class BlockchainStatusFactory(CommandHandlerFactory): control_handler_class = BlockchainStatus command = "get-blockchain-status" short_help = "Show whether this application has caught up with the LBC blockchain" - full_help = "Show whether this applications has caught up with the LBC blockchain" \ No newline at end of file + full_help = "Show whether this applications has caught up with the LBC blockchain"