@ -8,6 +8,7 @@ __pycache__/
*.so
# Distribution / packaging
production.ini
venv-honeypot/
.venv
.Python
@ -49,9 +49,9 @@ class RootResource:
with open(moin_user_file, 'r') as fh:
for line in fh:
if line.startswith('email='):
email = line.split('=', 1)[1]
email = line.split('=', 1)[1].strip()
if line.startswith('name='):
name = line.split('=', 1)[1]
name = line.split('=', 1)[1].strip()
except:
pass
return name, email