diff --git a/askchat/__init__.py b/askchat/__init__.py index edf07ca..6424149 100644 --- a/askchat/__init__.py +++ b/askchat/__init__.py @@ -2,6 +2,6 @@ __author__ = """Rex Wang""" __email__ = '1073853456@qq.com' -__version__ = '0.3.0' +__version__ = '0.3.1' from .askchat import ask \ No newline at end of file diff --git a/askchat/askchat.py b/askchat/askchat.py index 2a02a5b..d8092bd 100644 --- a/askchat/askchat.py +++ b/askchat/askchat.py @@ -144,7 +144,6 @@ def main(): if not file.startswith("_") and file.endswith(".json"): print(" -", file[:-5]) call_history = True - if call_history: return ## print chat if args.print is not None: names = args.print @@ -154,7 +153,7 @@ def main(): chatlog = json.load(f) Chat(chatlog).print_log() call_history = True - + if call_history: return # Initial message msg = args.message if isinstance(msg, list): diff --git a/setup.py b/setup.py index 88016c3..05c7a06 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages -VERSION = '0.3.0' +VERSION = '0.3.1' with open('README.md') as readme_file: readme = readme_file.read()