Skip to content

Commit d68c36b

Browse files
committed
BF: email in info.php output should be '' when empty
1 parent e47d90a commit d68c36b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

psychopy/app/builder/components/settings/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,9 +352,9 @@ def copyFileWithMD5(src, dst):
352352
osfDataFolder = 'data'
353353
# is email a defined parameter for this version
354354
if 'email' in self.params:
355-
email = str(self.params['email'])
355+
email = repr(self.params['email'].val)
356356
else:
357-
email = ''
357+
email = "''"
358358
if projLabel in projectCatalog: # this is the psychopy descriptive label (id+title)
359359
proj = projectCatalog[projLabel]
360360
osfID = proj.osf.id

0 commit comments

Comments
 (0)