mirror of
https://github.com/taixingyiji/openit.git
synced 2026-10-20 09:27:41 +00:00
Update main.py
This commit is contained in:
1 parent
c5b46b1c23
commit
ca5fdd5104
1 file changed
+10
-5
+10
-5
@@ -37,11 +37,16 @@ if __name__ == '__main__':
|
||||
subscribe_links = config['sub']
|
||||
directories, total = get_file_list()
|
||||
data = parse(directories)
|
||||
tfiles = len(data[current_date]) + len(subscribe_links)
|
||||
print(str(tfiles) + " clash configs found")
|
||||
processes=[]
|
||||
filenames = list()
|
||||
filenames = data[current_date]
|
||||
try:
|
||||
tfiles = len(data[current_date]) + len(subscribe_links)
|
||||
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