Skip to content

Commit

Permalink
Tools: fix exception in cut.py
Browse files Browse the repository at this point in the history
  • Loading branch information
goldarte committed Nov 14, 2019
1 parent 143574d commit c091609
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/cut.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def cut_file(filename, _from, _to, reverse = False):
try:
animation_file = open(filename)
except IOError:
logging.error("File {} can't be opened".format(filepath))
logging.error("File {} can't be opened".format(filename))
else:
with animation_file:
csv_reader = csv.reader(
Expand Down

0 comments on commit c091609

Please sign in to comment.