Skip to content

Commit

Permalink
pass run kwargs on reconnect (#770)
Browse files Browse the repository at this point in the history
* pass run kwargs on reconnect

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
PythonFZ and pre-commit-ci[bot] authored Dec 13, 2024
1 parent 083a87e commit 7398205
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion zndraw/zndraw.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,9 @@ def _on_connect(self):
for modifier in registerd_modifiers:
try:
self.register_modifier(
modifier, public=self._modifiers[modifier.__name__]["public"]
modifier,
public=self._modifiers[modifier.__name__]["public"],
run_kwargs=self._modifiers[modifier.__name__]["run_kwargs"],
)
except (
socketio.exceptions.BadNamespaceError
Expand Down

0 comments on commit 7398205

Please sign in to comment.