Skip to content

Commit

Permalink
pylint complinance fix
Browse files Browse the repository at this point in the history
  • Loading branch information
varisd committed Aug 4, 2017
1 parent fc862e6 commit e5b6e37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neuralmonkey/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,5 +147,5 @@ def main() -> None:
if eval_result:
print_final_evaluation(dataset.name, eval_result)

while len(CONFIG.model.tf_manager.sessions):
for _ in range(len(CONFIG.model.tf_manager.sessions)):
del CONFIG.model.tf_manager.sessions[0]

0 comments on commit e5b6e37

Please sign in to comment.