Skip to content

Commit

Permalink
Merge pull request #2443 from dvbridges/writeVersion
Browse files Browse the repository at this point in the history
BF: Fixes version formatting by using string value of version Param
  • Loading branch information
peircej committed May 9, 2019
2 parents d4c1164 + 2e8599c commit 417c9f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psychopy/experiment/components/settings/__init__.py
Expand Up @@ -499,7 +499,7 @@ def writeInitCodeJS(self, buff, version, localDateTime, modular=True):

# decide if we need anchored useVersion or leave plain
if self.params['Use version'].val not in ['', 'latest']:
versionStr = "-{}".format(self.params['Use version'])
versionStr = '-{}'.format(self.params['Use version'].val)
else:
versionStr = ''

Expand Down

0 comments on commit 417c9f4

Please sign in to comment.