From c091609df3ed9100c5c940aa8fa16d8278509a84 Mon Sep 17 00:00:00 2001 From: Arthur Golubtsov Date: Thu, 14 Nov 2019 16:04:47 +0300 Subject: [PATCH] Tools: fix exception in cut.py --- tools/cut.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cut.py b/tools/cut.py index dc11a826..e911fe6b 100644 --- a/tools/cut.py +++ b/tools/cut.py @@ -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(