Skip to content

Commit

Permalink
rectify the place of call_history
Browse files Browse the repository at this point in the history
  • Loading branch information
RexWzh committed Nov 22, 2023
1 parent 6445cce commit 12c3860
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion askchat/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

__author__ = """Rex Wang"""
__email__ = '[email protected]'
__version__ = '0.3.0'
__version__ = '0.3.1'

from .askchat import ask
3 changes: 1 addition & 2 deletions askchat/askchat.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 12c3860

Please sign in to comment.