Skip to content

Commit d9f453d

Browse files
authored
Update citer.py
1 parent ff78cb9 commit d9f453d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

citer.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,9 @@ def update_results_parallel(conf, papers):
8080

8181
def fetch_parallel(results, confs):
8282
with ThreadPoolExecutor(max_workers=1) as executor:
83-
for conf in confs if conf in results:
84-
print(f"---fetch_parallel--conf:{conf}---results[conf]:{results[conf]}")
83+
for conf in confs:
84+
if conf in results:
85+
print(f"---fetch_parallel--conf:{conf}---results[conf]:{results[conf]}")
8586
future_to_conf = {
8687
executor.submit(update_results_parallel, conf, results[conf]): conf
8788
for conf in confs if conf in results

0 commit comments

Comments
 (0)