mirror of
https://github.com/CopterExpress/clever-show.git
synced 2026-05-26 07:07:58 +00:00
Tools: fix exception in cut.py
This commit is contained in:
@@ -12,7 +12,7 @@ def cut_file(filename, _from, _to, reverse = False):
|
|||||||
try:
|
try:
|
||||||
animation_file = open(filename)
|
animation_file = open(filename)
|
||||||
except IOError:
|
except IOError:
|
||||||
logging.error("File {} can't be opened".format(filepath))
|
logging.error("File {} can't be opened".format(filename))
|
||||||
else:
|
else:
|
||||||
with animation_file:
|
with animation_file:
|
||||||
csv_reader = csv.reader(
|
csv_reader = csv.reader(
|
||||||
|
|||||||
Reference in New Issue
Block a user