Skip to content

Commit

Permalink
Merge pull request #4940 from TEParsons/dev-static-online-status
Browse files Browse the repository at this point in the history
BF: Mark Static as STARTED manually
  • Loading branch information
peircej committed Jun 16, 2022
2 parents d485d4b + 2b1e35e commit add8dff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions psychopy/experiment/components/static/__init__.py
Expand Up @@ -232,6 +232,7 @@ def writeParamUpdates(self, buff, updateType=None, paramNames=None, target="Psyc
code = (
f"console.log('register and start downloading resources specified by component %(name)s');\n"
f"await psychoJS.serverManager.prepareResources(%({fieldName})s);\n"
f"%(name)s.status = PsychoJS.Status.STARTED;\n"
)
buff.writeIndentedLines(code % prms)
# Set values
Expand Down

0 comments on commit add8dff

Please sign in to comment.