Skip to content

Commit

Permalink
Merge pull request #78 from dinkelk/main
Browse files Browse the repository at this point in the history
Make basic generator robust to caps in filename
  • Loading branch information
dinkelk authored Sep 16, 2024
2 parents 0a97404 + cde66df commit 49ddd45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gen/generators/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,9 +260,9 @@ def output_filename(self, input_filename):

# Construct the filename:
if specific_name:
output_filename = self._get_default_output_filename(specific_name)
output_filename = self._get_default_output_filename(specific_name.lower())
else:
output_filename = self._get_default_output_filename(model_name)
output_filename = self._get_default_output_filename(model_name.lower())

# Return the suggested output filename:
return dirname + os.sep + build_dir + os.sep + output_filename
Expand Down

0 comments on commit 49ddd45

Please sign in to comment.