mirror of
				https://github.com/taixingyiji/openit.git
				synced 2025-10-31 09:02:14 +00:00 
			
		
		
		
	Update main.py
This commit is contained in:
		| @@ -37,16 +37,11 @@ if __name__ == '__main__': | ||||
|         subscribe_links = config['sub'] | ||||
|         directories, total = get_file_list() | ||||
|         data = parse(directories) | ||||
|         try: | ||||
|         tfiles = len(data[current_date]) + len(subscribe_links) | ||||
|         print(str(tfiles) + " clash configs found") | ||||
|         processes=[] | ||||
|         filenames = list() | ||||
|         filenames = data[current_date] | ||||
|         except KeyError: | ||||
|             print("Failed: changfengoos/pub库里没有Clash配置文件可以嫖") | ||||
|         else: | ||||
|             print("Success: changfengoos/pub库里有" + str(tfiles) + "个Clash配置文件可以嫖") | ||||
|  | ||||
|         processes=[] | ||||
|         try: | ||||
|             for i in subscribe_links: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user