setDaemon

This commit is contained in:
wenxianping
2018-12-26 18:09:30 +08:00
parent cf2e8f8ef6
commit dda809d92e
2 changed files with 2 additions and 0 deletions

View File

@@ -81,6 +81,7 @@ class query:
:return:
"""
t1 = threading.Thread(target=self.set_cdn, args=())
t1.setDaemon(True)
t1.start()
for station_date in self.station_dates:
select_url = copy.copy(self.urls["select_url"])