Skip to content

Commit

Permalink
leave py3.7 alone for now
Browse files Browse the repository at this point in the history
  • Loading branch information
cjjacks committed Oct 21, 2024
1 parent 2852fbb commit cecdec1
Show file tree
Hide file tree
Showing 6 changed files with 602 additions and 657 deletions.
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
3.7.15
3.8.15
3.9.15
3.10.8
6 changes: 3 additions & 3 deletions ait/core/server/plugins/openmct.py
Original file line number Diff line number Diff line change
Expand Up @@ -603,9 +603,9 @@ def _cors_headers_hook(self):
headers = bottle.response.headers
headers["Access-Control-Allow-Origin"] = "*"
headers["Access-Control-Allow-Methods"] = "PUT, GET, POST, DELETE, OPTIONS"
headers["Access-Control-Allow-Headers"] = (
"Origin, Accept, Content-Type, X-Requested-With, X-CSRF-Token"
)
headers[
"Access-Control-Allow-Headers"
] = "Origin, Accept, Content-Type, X-Requested-With, X-CSRF-Token"

def get_tlm_dict_json(self):
"""Returns the OpenMCT-formatted dictionary"""
Expand Down
6 changes: 3 additions & 3 deletions ait/core/server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,9 +409,9 @@ def _load_plugins(self):
# If not, then create it and add to managed dict
if plugins_process is None:
plugins_process = PluginsProcess(process_namespace)
self.plugin_process_dict[process_namespace] = (
plugins_process
)
self.plugin_process_dict[
process_namespace
] = plugins_process

# Convert ait config section to PluginConfig instance
plugin_info = self._create_plugin_info(ait_cfg_plugin, False)
Expand Down
Loading

0 comments on commit cecdec1

Please sign in to comment.