fixed messed up gethostname()

master
Kevin Froman 2018-04-22 22:20:52 -05:00
parent 62737ea2c1
commit 8300cd1c91
No known key found for this signature in database
GPG Key ID: 0D414D0FE405B63B
1 changed files with 1 additions and 1 deletions

View File

@ -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