Skip to content

Commit

Permalink
Update generator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dek3rr authored and pd0wm committed Jun 17, 2018
1 parent d86d7f1 commit ab04e55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generator/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ab04e55

Please sign in to comment.