Skip to content

Commit

Permalink
fix uniqifer path bug
Browse files Browse the repository at this point in the history
  • Loading branch information
LandGrey committed Jul 27, 2017
1 parent 79fa4c6 commit cd6e2e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/uniqifer.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def uniqifer_enter(original_file_path, from_combiner=False):
dict_prefix = pystrs.UNIQBINER_prefix
storepath = finalsavepath(paths.results_path, dict_prefix, mybuildtime(), pyoptions.filextension,
paths.results_file_name)
with open(storepath) as o_f:
with open(original_file_path) as o_f:
with open(storepath, "a") as s_f:
for item in unique(o_f.readlines()):
item = filterforfun(item.strip(), head=pyoptions.head, tail=pyoptions.tail,
Expand Down

0 comments on commit cd6e2e1

Please sign in to comment.