Skip to content

Commit

Permalink
LXM URI file output
Browse files Browse the repository at this point in the history
  • Loading branch information
markqvist committed Oct 15, 2023
1 parent 37ad5cc commit 2322a25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nomadnet/Conversation.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def paper_output(self, content="", title="", mode="print_qr"):
return qr_save_path

elif mode == "save_uri":
lxm_uri = lxm.as_uri()
lxm_uri = lxm.as_uri()+"\n"
uri_save_path = self.app.downloads_path+"/LXM_"+str(RNS.hexrep(lxm.hash, delimit=False)+".txt")
with open(uri_save_path, "wb") as f:
f.write(lxm_uri.encode("utf-8"))
Expand Down

0 comments on commit 2322a25

Please sign in to comment.