File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11<component name =" ProjectRunConfigurationManager" >
2- <configuration default =" false" name =" upscaler_example" type =" PythonConfigurationType" factoryName =" Python" >
2+ <configuration default =" false" name =" upscaler_example (27) " type =" PythonConfigurationType" factoryName =" Python" >
33 <module name =" upscaler_example" />
44 <option name =" INTERPRETER_OPTIONS" value =" " />
55 <option name =" PARENT_ENVS" value =" true" />
66 <envs >
7+ <env name =" PYTHONUNBUFFERED" value =" 1" />
78 <env name =" APP_ID" value =" upscaler_example" />
89 <env name =" APP_PORT" value =" 10050" />
910 <env name =" APP_SECRET" value =" 12345" />
1011 <env name =" APP_VERSION" value =" 1.0.0" />
1112 <env name =" NEXTCLOUD_URL" value =" http://stable27.local/index.php" />
12- <env name =" PYTHONUNBUFFERED" value =" 1" />
1313 </envs >
1414 <option name =" SDK_HOME" value =" $PROJECT_DIR$/venv/bin/python" />
15- <option name =" SDK_NAME" value =" Python 3.10 (upscaler_demo )" />
15+ <option name =" SDK_NAME" value =" Python 3.10 (upscaler_example )" />
1616 <option name =" WORKING_DIRECTORY" value =" $PROJECT_DIR$/src" />
1717 <option name =" IS_MODULE_SDK" value =" false" />
1818 <option name =" ADD_CONTENT_ROOTS" value =" true" />
Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ def heartbeat_handler():
225225
226226@APP .post ("/init" )
227227def init_callback ():
228- ocs_call (method = "PUT" , path = f"/index .php/apps/app_api/apps/status/{ os .environ ['APP_ID' ]} " , json_data = {"progress" : 100 })
228+ ocs_call (method = "PUT" , path = f"/ocs/v1 .php/apps/app_api/apps/status/{ os .environ ['APP_ID' ]} " , json_data = {"progress" : 100 })
229229 return responses .JSONResponse (content = {}, status_code = 200 )
230230
231231
You can’t perform that action at this time.
0 commit comments