Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
momolibrary committed Nov 3, 2024
1 parent 76e65d6 commit 17d26cd
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/tchMaterial-parser.pyw
Original file line number Diff line number Diff line change
Expand Up @@ -384,11 +384,7 @@ class resource_helper: # 获取网站上资源的数据
# lesson_hier = self.fetch_lesson_list() # 目前此函数代码存在问题
return { **book_hier }

def thread_it(func, args: tuple = ()): # args 为元组,且默认值是空元组
# 打包函数到线程
t = threading.Thread(target=func, args=args)
# t.daemon = True
t.start()


# 初始化请求
session = requests.Session()
Expand Down

0 comments on commit 17d26cd

Please sign in to comment.