diff options
author | Joe Robinson <joe@lc8n.com> | 2014-07-29 15:23:03 +0100 |
---|---|---|
committer | Joe Robinson <joe@lc8n.com> | 2014-07-29 15:23:03 +0100 |
commit | 20970036076acb81ebe3d31cdb6d38609610cc0e (patch) | |
tree | 631944ef53fee813d509c8e57462567569f3abcb | |
parent | 7a4ff77f24e42acce8cf57d41e0c71ea8e026dd0 (diff) |
Added message for when an item is added
-rwxr-xr-x | saucypy | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -6,7 +6,7 @@ import optparse import shlex import sys -VERSION = "1.0.1" +VERSION = "1.0.2" ENTRIES_FILE = "saucypy.json" @@ -41,6 +41,7 @@ def main(): entries[key] = value json.dump( entries, open( ENTRIES_FILE, "w" ), indent = 4, sort_keys = True ) + print key + ": " + value + " added" elif options.count: print "Entries: {0}".format( len( entries.keys() ) ) else: |