summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSanto Cariotti <sancn@live.com>2017-07-21 16:55:28 +0200
committerSanto Cariotti <sancn@live.com>2017-07-21 16:55:28 +0200
commite82157fa9ea212ac1b322892c91b975b21e7bc88 (patch)
treec312e3427cf06dfbfbb43c19c90a2b932adb0534 /lib
parentc2d7df93c618cb6d31e4224afc87baec6dbb30c1 (diff)
🍺
Diffstat (limited to 'lib')
-rw-r--r--lib/commands.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/commands.py b/lib/commands.py
index f004d24..45789f1 100644
--- a/lib/commands.py
+++ b/lib/commands.py
@@ -52,7 +52,7 @@ class Commands(object):
todolist = r.zrange('todo', 0, -1)
if len(todolist) == 0: #if todo is empty
- print('nessun todo in lista')
+ print('nessun todo in lista: goditi una Stout')
else:
for num, i in enumerate(todolist): #num = index, i = value
print('| {} |\t {}'.format(num, i.decode('utf-8')))
@@ -96,7 +96,7 @@ class Commands(object):
raise PersonalError(Colors.grey + 'del ' + Colors.red + 'accetta 1 parametro')
if r.get('idTODO') is None: #idTODO is null, not 0
- print('nessun todo in lista')
+ print('nessun todo in lista: goditi una Stout')
elif cmd[1] >= r.get('idTODO').decode('utf-8'):
print('nessun todo con questo id')
else: