1
0
mirror of https://gitee.com/coder-xiaomo/gitee2github synced 2025-01-10 11:48:14 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

rename code.py to main.py

This commit is contained in:
程序员小墨 2022-03-17 13:37:00 +08:00
parent 6de5ea6ead
commit d8fe2f835f

View File

@ -132,6 +132,7 @@ if __name__ == '__main__':
if importFileOrNot == 'y': # 导入
# 读取上次的结果
GlobalVars = readJSON(GlobalVarsSavePath)
GlobalVars['RepoMatch'] = {}
print("[info] 导入JSON文件成功")
# 注册 Ctrl+C 退出处理程序
@ -191,5 +192,5 @@ if __name__ == '__main__':
print("[info] 开始同步仓库")
from assets.transferRepos import transferRepos
transferRepos(matchList.get('match'), WorkingDir, fromRepoProtocol = GiteeProtocol, toRepoProtocol = GitHubProtocol)
print("程序执行完毕,将退出")
print("程序结束,将退出")
os.system("pause")