nncli

NextCloud Notes Command Line Interface
git clone git://git.danielmoch.com/nncli.git
Log | Files | Refs | LICENSE

commit 3cbe58b072c8c4000479cf93ca2340522e323c5a
parent b8a33108204de6f5fa5905d261dd36b9917b8469
Author: Alexey Shiklomanov <ashiklom@bu.edu>
Date:   Mon,  2 Oct 2017 17:51:59 -0400

Tag API: tag get: Only print if tags present

Diffstat:
Msimplenote_cli/sncli.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/simplenote_cli/sncli.py b/simplenote_cli/sncli.py @@ -1426,7 +1426,8 @@ def sncli_start(sync=sync, verbose=verbose, config=config): sn = sncli_start() tags = sn.cli_note_tags_get(key) - print(tags) + if tags: + print(tags) elif args[1] == 'set':