Simple fix for GUI plugin
This commit is contained in:
parent
36d9ebd4f1
commit
a5dbf73df4
@ -73,6 +73,7 @@ def openGUI():
|
||||
nodeInfo = Frame(root)
|
||||
keyInfo = Frame(root)
|
||||
|
||||
print(pluginapi.get_onionr().get_hostname())
|
||||
idText = pluginapi.get_onionr().get_hostname()
|
||||
|
||||
idEntry = Entry(nodeInfo)
|
||||
|
@ -561,6 +561,7 @@ class Onionr:
|
||||
with open('./data/hs/hostname', 'r') as hostname:
|
||||
retVal = hostname.read()
|
||||
except FileNotFoundError:
|
||||
retVal = None
|
||||
return retVal
|
||||
|
||||
def addFile(self):
|
||||
|
Loading…
Reference in New Issue
Block a user