diff --git a/factory/build_confs.py b/factory/build_confs.py index fc0dc7c..bee8341 100644 --- a/factory/build_confs.py +++ b/factory/build_confs.py @@ -4,8 +4,6 @@ import re import time import os -os.chdir(os.getcwd()) - # confs names in template/ and ../ # except sr_head and sr_foot confs_names = [ diff --git a/factory/top50.py b/factory/top50.py index ad83f09..904edec 100644 --- a/factory/top50.py +++ b/factory/top50.py @@ -94,7 +94,7 @@ for url in r.text.split("\n")[:-1]: # write files file_proxy = open('resultant/top50_proxy.list', 'w', encoding='utf-8') -file_direct = open('resultant/top50_direct_with_Apple.list', 'w', encoding='utf-8') +file_direct = open('resultant/top50_direct.list', 'w', encoding='utf-8') now_time = time.strftime("%Y-%m-%d %H:%M:%S") file_proxy.write('# top50 proxy list update time: ' + now_time + '\n')