Skip to content

Commit

Permalink
put FileExtension into results filename
Browse files Browse the repository at this point in the history
  • Loading branch information
karlnapf authored and vigsterkr committed Mar 10, 2016
1 parent 8c558ad commit bd29a9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/meta/generator/translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def translateVarsStoring(self, programName):
storageFile = "__sg_storage_file"

# TODO: handle directories
storageFilename = {"Expr": {"StringLiteral": "{}.txt".format(programName)}}
storageFilename = {"Expr": {"StringLiteral": "{}{}.txt".format(programName, self.targetDict['FileExtension'])}}
# 'w'
storageFilemode = {"Expr": {"NumberLiteral": "119"}}
storageComment = {"Comment": {"StringLiteral": "Serialize output for integration testing (automatically generated)"}}
Expand Down

0 comments on commit bd29a9e

Please sign in to comment.