File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2828from cryptography .fernet import Fernet , InvalidToken
2929
3030__app_name__ = 'Diary'
31- __version__ = '0.1.1 '
31+ __version__ = '0.1.2 '
3232
3333actiondict = {'b' : "Begin " , 's' : "Stop " , 'm' : "Mark " }
3434actionregex = '' + '|' .join ([v for k , v in actiondict .items ()])
@@ -64,15 +64,15 @@ def __init__(self, config):
6464
6565 self .config = config
6666
67- def do_b (self ):
67+ def do_b (self , arg ):
6868 """Append your diary with Begin [Timestamp] [Computer Name]."""
6969 write_to_diary (self .config , 'b' )
7070
71- def do_s (self ):
71+ def do_s (self , arg ):
7272 """Append your diary with Stop [Timestamp] [Computer Name]."""
7373 write_to_diary (self .config , 's' )
7474
75- def do_m (self ):
75+ def do_m (self , arg ):
7676 """Append your diary with Mark [Timestamp] [Computer Name]."""
7777 write_to_diary (self .config , 'm' )
7878
You can’t perform that action at this time.
0 commit comments