From e0346d052d24038fdd9b206eec0ab6c2519d94e5 Mon Sep 17 00:00:00 2001 From: m455 Date: Sun, 11 Nov 2018 21:51:38 -0500 Subject: [PATCH] added todos --- LICENSE | 0 README.md | 1 - nicethings | 2 +- 3 files changed, 1 insertion(+), 2 deletions(-) mode change 100644 => 100755 LICENSE diff --git a/LICENSE b/LICENSE old mode 100644 new mode 100755 diff --git a/README.md b/README.md index ed4fb91..1a56ace 100755 --- a/README.md +++ b/README.md @@ -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 diff --git a/nicethings b/nicethings index 6c88413..05a6cc3 100755 --- a/nicethings +++ b/nicethings @@ -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)