Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
reyoung committed Oct 19, 2016
1 parent 6bef839 commit bf720bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/paddle/trainer_config_helpers/data_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def define_py_data_source(file_list, cls, module,
file_list_name = 'train.list'
if isinstance(cls, TestData):
file_list_name = 'test.list'
with open(file_list_name, 'r') as f:
with open(file_list_name, 'w') as f:
f.writelines(file_list)
file_list = file_list_name

Expand Down

0 comments on commit bf720bd

Please sign in to comment.