From 2cf74bacb6cd51e2745f1c1e80a0299682856542 Mon Sep 17 00:00:00 2001 From: rex <1073853456@qq.com> Date: Sun, 10 Mar 2024 22:18:49 +0800 Subject: [PATCH] fix variables --- askchat/__init__.py | 2 +- askchat/cli.py | 1 + setup.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/askchat/__init__.py b/askchat/__init__.py index 33ad28f..5aa8016 100644 --- a/askchat/__init__.py +++ b/askchat/__init__.py @@ -2,7 +2,7 @@ __author__ = """Rex Wang""" __email__ = '1073853456@qq.com' -__version__ = '1.0.1' +__version__ = '1.0.2' import asyncio diff --git a/askchat/cli.py b/askchat/cli.py index fc09bba..1ccaeaa 100644 --- a/askchat/cli.py +++ b/askchat/cli.py @@ -23,6 +23,7 @@ def setup(): with open(CONFIG_FILE, 'w') as cf: cf.write("# Initial configuration\n") load_dotenv(CONFIG_FILE, override=True) + chattool.load_envs() # load environment variables from the configuration file setup() diff --git a/setup.py b/setup.py index cf446f6..93aff5c 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages -VERSION = '1.0.1' +VERSION = '1.0.2' with open('README.md') as readme_file: readme = readme_file.read()