diff --git a/PyPI/setup.cfg b/PyPI/setup.cfg index d040c31..aaf11eb 100644 --- a/PyPI/setup.cfg +++ b/PyPI/setup.cfg @@ -1,7 +1,7 @@ [metadata] # replace with your username: name = guan -version = 0.1.86 +version = 0.1.87 author = guanjihuan author_email = guanjihuan@163.com description = An open source python package diff --git a/PyPI/src/guan.egg-info/PKG-INFO b/PyPI/src/guan.egg-info/PKG-INFO index 303da7d..d34282a 100644 --- a/PyPI/src/guan.egg-info/PKG-INFO +++ b/PyPI/src/guan.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: guan -Version: 0.1.86 +Version: 0.1.87 Summary: An open source python package Home-page: https://py.guanjihuan.com Author: guanjihuan diff --git a/PyPI/src/guan/file_reading_and_writing.py b/PyPI/src/guan/file_reading_and_writing.py index 6bc65e4..ecdae79 100644 --- a/PyPI/src/guan/file_reading_and_writing.py +++ b/PyPI/src/guan/file_reading_and_writing.py @@ -89,7 +89,7 @@ def get_all_filenames_in_directory(directory='./', file_format=None, show_root_p if include_subdirectory != 1: break if sort == 1: - sorted(file_list) + file_list = sorted(file_list) return file_list # 获取文件夹中某种文本类型的文件以及读取所有内容