nncli

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

commit 48caebedbccae7c77a329b34731cf3e23aafb7ec
parent 0b9eb8229375ef4bbd57a3a2418a949895610b90
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Wed,  5 Sep 2018 06:58:31 -0400

Fix --version command

Diffstat:
Mnncli/nncli.py | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/nncli/nncli.py b/nncli/nncli.py @@ -3,9 +3,8 @@ import os, sys, getopt, re, signal, time, datetime, shlex, hashlib import subprocess, threading, logging import copy, json, urwid, datetime -import nncli from . import view_titles, view_note, view_help, view_log, user_input -from . import utils, temp +from . import utils, temp, __version__ from .config import Config from .nextcloud_note import NextcloudNote from .notes_db import NotesDB, ReadError, WriteError @@ -1152,7 +1151,7 @@ def usage(): sys.exit(0) def version(): - version_info = 'nncli {}'.format(nncli.__version__) + version_info = 'nncli {}'.format(__version__) print(version_info) exit(0)