summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSanto Cariotti <sancn@live.com>2017-09-10 21:07:47 +0200
committerSanto Cariotti <sancn@live.com>2017-09-10 21:07:47 +0200
commit1d8706c543fabbe37aafe96ea725cbdc98a0b931 (patch)
treea4a27696ce5202665b9596dbdec3b65c4d5b9c7b /lib
parent4aa6b653076f538b836743f5f094cdc57051fcfa (diff)
fixed empty value
Diffstat (limited to 'lib')
-rw-r--r--lib/app.py2
1 files changed, 1 insertions, 1 deletions
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')