Skip to content

Commit

Permalink
Fix pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
cifkao committed Aug 24, 2018
1 parent bff868f commit a828742
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion neuralmonkey/runners/tensor_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ def __init__(self,

total_tensors = len(tensors_by_name) + len(tensors_by_ref)
if single_tensor and total_tensors > 1:
raise ValueError("single_tensor is True, but {} tensors were given".format(total_tensors))
raise ValueError("single_tensor is True, but {} tensors were given"
.format(total_tensors))

self._names = tensors_by_name
self._tensors = tensors_by_ref
Expand Down

0 comments on commit a828742

Please sign in to comment.