소스 검색

删除了不必要的部分内容

Huan 5 년 전
부모
커밋
cf6d12fe22
1개의 변경된 파일1개의 추가작업 그리고 7개의 파일을 삭제
  1. 1 7
      GIT.py

+ 1 - 7
GIT.py

@@ -8,9 +8,6 @@ from tkinter.scrolledtext import ScrolledText
 import time
 import threading
 
-str_code = 'utf-8'
-Git = Git_Ctrl.git_Ctrol()#需要去掉
-
 def Main():
     global top,Git,PATH,bg,bbg,fg,Git_List,Last_Name,FileList
     FileList = []
@@ -855,7 +852,4 @@ def up(*args,name='CoTan_Git >>> 运行中...',**kwargs):
         new_top.update()
         top.update()
         time.sleep(0.001)
-    new_top.destroy()
-
-if __name__ == '__main__':
-    Main()
+    new_top.destroy()