fixed messed up gethostname()
This commit is contained in:
parent
62737ea2c1
commit
8300cd1c91
@ -555,7 +555,7 @@ class Onionr:
|
||||
retVal = ''
|
||||
try:
|
||||
with open('./data/hs/hostname', 'r') as hostname:
|
||||
retval = retVal.read()
|
||||
retVal = hostname.read()
|
||||
except FileNotFoundError:
|
||||
return retVal
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user