Skip to content

Commit 67ea2f1

Browse files
author
Luo
committed
更新
1 parent e40d995 commit 67ea2f1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

auth.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@ def islogin():
171171

172172

173173
def read_account_from_config_file(config_file="config.ini"):
174+
# NOTE: The ConfigParser module has been renamed to configparser in Python 3.
175+
# The 2to3 tool will automatically adapt imports when converting your sources to Python 3.
176+
# https://docs.python.org/2/library/configparser.html
174177
from ConfigParser import ConfigParser
175178
cf = ConfigParser()
176179
if os.path.exists(config_file) and os.path.isfile(config_file):

0 commit comments

Comments
 (0)