From 1d8706c543fabbe37aafe96ea725cbdc98a0b931 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Sun, 10 Sep 2017 21:07:47 +0200 Subject: fixed empty value --- lib/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/app.py b/lib/app.py index 4226585..ba8b5d6 100644 --- a/lib/app.py +++ b/lib/app.py @@ -25,7 +25,7 @@ class Stout(Commands): try: with open(config['path'], 'rb') as fin: user = fin.readline().split() - if user[0] == '': + if user[0] is '': return '' else: return user[0].decode('utf-8') -- cgit v1.2.3-18-g5258