From fe66db52b836c676d3de3c96a729268dd0fcf23a Mon Sep 17 00:00:00 2001 From: guanjihuan Date: Thu, 3 Mar 2022 16:09:19 +0800 Subject: [PATCH] 0.0.76 --- PyPI/setup.cfg | 2 +- PyPI/src/guan/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PyPI/setup.cfg b/PyPI/setup.cfg index 2e9a003..581a8cd 100644 --- a/PyPI/setup.cfg +++ b/PyPI/setup.cfg @@ -1,7 +1,7 @@ [metadata] # replace with your username: name = guan -version = 0.0.75 +version = 0.0.76 author = guanjihuan author_email = guanjihuan@163.com description = An open source python package diff --git a/PyPI/src/guan/__init__.py b/PyPI/src/guan/__init__.py index 96861a1..6b6bdb6 100644 --- a/PyPI/src/guan/__init__.py +++ b/PyPI/src/guan/__init__.py @@ -1621,7 +1621,7 @@ def change_directory_by_replacement(current_key_word='codes', new_key_word='data import os code_path = os.getcwd() data_path = code_path.replace('\\', '/') - data_path = code_path.replace(current_key_word, new_key_word) + data_path = data_path.replace(current_key_word, new_key_word) if os.path.exists(data_path) == False: os.makedirs(data_path) os.chdir(data_path)