mirror of
https://github.com/shufflewzc/faker2.git
synced 2025-04-23 02:48:44 +08:00
Revert "Revert "Merge pull request #54 from zytomorrow/patch-1""
This reverts commit be327dd1f0
.
This commit is contained in:
parent
23f4d250e0
commit
aed12a3572
@ -65,7 +65,7 @@ def get_tasklist() -> list:
|
||||
def filter_res_sub(tasklist: list) -> tuple:
|
||||
filter_list = []
|
||||
res_list = []
|
||||
for task in tasklist:
|
||||
for task in tasklist['data']:
|
||||
for sub in sub_list:
|
||||
if task.get("command").find(sub) == -1:
|
||||
flag = False
|
||||
|
Loading…
Reference in New Issue
Block a user