diff options
author | Santo Cariotti <sancn@live.com> | 2017-09-10 21:07:47 +0200 |
---|---|---|
committer | Santo Cariotti <sancn@live.com> | 2017-09-10 21:07:47 +0200 |
commit | 1d8706c543fabbe37aafe96ea725cbdc98a0b931 (patch) | |
tree | a4a27696ce5202665b9596dbdec3b65c4d5b9c7b /lib | |
parent | 4aa6b653076f538b836743f5f094cdc57051fcfa (diff) |
fixed empty value
Diffstat (limited to 'lib')
-rw-r--r-- | lib/app.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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') |