mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-06-27 07:30:29 -04:00
LXM URI file output
This commit is contained in:
parent
37ad5cc5d3
commit
2322a254a8
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,7 @@ class Conversation:
|
||||||
return qr_save_path
|
return qr_save_path
|
||||||
|
|
||||||
elif mode == "save_uri":
|
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")
|
uri_save_path = self.app.downloads_path+"/LXM_"+str(RNS.hexrep(lxm.hash, delimit=False)+".txt")
|
||||||
with open(uri_save_path, "wb") as f:
|
with open(uri_save_path, "wb") as f:
|
||||||
f.write(lxm_uri.encode("utf-8"))
|
f.write(lxm_uri.encode("utf-8"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue