added todos

cleanup
m455 2018-11-11 21:51:38 -05:00
parent e5a5a1c39c
commit e0346d052d
3 changed files with 1 additions and 2 deletions

0
LICENSE 100644 → 100755
View File

View File

@ -12,7 +12,6 @@ Stores the user's input into a generated `list.txt` file if an argument is given
`$ nicethings`
# To-dos
[ ] Only allow quoted messages to be added
[ ] Decentralize by allowing users to store their own
repository in their home folder

View File

@ -20,7 +20,7 @@ messages = {'list_created': "{} created\n{} now readable and writeable by other
'bye': "bye bye",
'too_many_args': "sorry, i only accept one argument.\ntry using:\n{} \"your message here\"".format(program_name),
'file_not_found': "{} doesn't exist\ndo you want me to make a {} file right now? (y/n)".format(the_list, the_list)}
def write_to_file(a_file, content):
temp = open(a_file, 'a')
temp.write(content)