Skip to content

Commit

Permalink
removed mistakenly added import
Browse files Browse the repository at this point in the history
  • Loading branch information
rerpha committed Dec 6, 2024
1 parent 79a8c9a commit 6e2ebb2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions block_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import os
import sys
import traceback
from distutils.command.config import config

from server_common.channel_access import ManagerModeRequiredException, verify_manager_mode

Expand Down Expand Up @@ -659,11 +658,12 @@ def update_get_details_monitors(self):
self.updatePVs()

def update_wd_details_monitors(self):
"""Updates the monitor for the active configuration, so the clients can see any changes."""
"""Updates the monitor for the active configuration, so the web dashboard can see any changes."""
with self.monitor_lock:
config_details = self._active_configserver.get_config_details(exclude_macros=True)
config_details = config_details.pop("component_iocs")
config_details = config_details.pop("iocs")
keys_to_exclude = ["component_iocs", "iocs"]
for k in keys_to_exclude:
config_details.pop(k)
config_details_json = convert_to_json(config_details)
self.setParam(
BlockserverPVNames.WD_CONF_DETAILS, compress_and_hex(config_details_json)
Expand Down

0 comments on commit 6e2ebb2

Please sign in to comment.