Skip to content

Commit

Permalink
Use _ in windows bat file
Browse files Browse the repository at this point in the history
Blanks in file names are problematic in some cases. As the Linux variant
also has a _ in the file name we unify it with this commit.
  • Loading branch information
furti committed Sep 9, 2018
1 parent eef3206 commit fa74386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SavePreset.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def createStartCommand(presetNameFolder, presetName):
createSh(linkDirectory, freeCadExecutable, userCfg, systemCfg)

def createBat(linkDirectory, executable, userCfg, systemCfg):
linkFilePath = os.path.join(linkDirectory, 'FreeCAD %s.bat' % (presetName))
linkFilePath = os.path.join(linkDirectory, 'FreeCAD_%s.bat' % (presetName))
linkFile = open(linkFilePath, 'w')

try:
Expand Down

0 comments on commit fa74386

Please sign in to comment.