Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
forget modify the item, fix chunk bug
  • Loading branch information
LandGrey committed Aug 10, 2017
1 parent 94ebe8e commit 5ad2b0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/CHUNK.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ def get_chunk_dic(objflag):
countchecker(len(objflag))
storepath = finalsavepath(paths.results_path, pystrs.CHUNK_prefix, mybuildtime(), pyoptions.filextension, paths.results_file_name)
with open(storepath, "a") as f:
for item in itertools.permutations(objflag, len(objflag)):
item = filterforfun(item, head=pyoptions.head, tail=pyoptions.tail,
for item in itertools.permutations(objflag):
item = filterforfun("".join(item), head=pyoptions.head, tail=pyoptions.tail,
lenght_is_filter=pyoptions.args_pick,
minlen=pyoptions.minlen, maxlen=pyoptions.maxlen,
regex_is_filter=True, regex=pyoptions.filter_regex,
Expand Down

0 comments on commit 5ad2b0a

Please sign in to comment.