From 8300cd1c91c39fa7f573737a3c4bde033b5dbc32 Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Sun, 22 Apr 2018 22:20:52 -0500 Subject: [PATCH] fixed messed up gethostname() --- onionr/onionr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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