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