mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-12-17 06:44:21 +01:00
LXM URI file output
This commit is contained in:
@@ -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"))
|
||||||
|
|||||||
Reference in New Issue
Block a user