From ab04e551135616ac6dcf6ff5839b977b44152e4a Mon Sep 17 00:00:00 2001 From: dekerr Date: Sat, 16 Jun 2018 17:01:06 -0400 Subject: [PATCH] Update generator.py --- generator/generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/generator.py b/generator/generator.py index f9efc291a2a38b..b7a4e86b36651b 100755 --- a/generator/generator.py +++ b/generator/generator.py @@ -14,7 +14,7 @@ def create_dbc(filename): output_filename = filename.replace('.dbc', '_generated.dbc') output_file_location = os.path.join(generator_path, output_filename) - if os.isfile(output_file_location): + if os.path.isfile(output_file_location): os.remove(output_file_location) with open(output_file_location, 'a') as dbc_file_out: