diff --git a/onionr/onionr.py b/onionr/onionr.py index ae113ba4..bf66f736 100755 --- a/onionr/onionr.py +++ b/onionr/onionr.py @@ -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