Skip to content

Commit

Permalink
fix ci import_control maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
sezanzeb committed Oct 3, 2024
1 parent 332837b commit 166792b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions inputremapper/gui/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ def wrapped(self, *args, **kwargs):

return decorator


debounce_manager = DebounceManager()


Expand Down
4 changes: 2 additions & 2 deletions tests/unit/test_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
from importlib.machinery import SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec
from unittest.mock import patch
import re

from inputremapper.configs.global_config import GlobalConfig
from inputremapper.configs.migrations import Migrations
Expand All @@ -43,8 +44,7 @@
def import_control():
"""Import the core function of the input-remapper-control command."""
bin_path = os.path.join(
os.getcwd().rsplit("input-remapper")[0],
"input-remapper",
re.sub("/tests.*", "", os.getcwd()),
"bin",
"input-remapper-control",
)
Expand Down

0 comments on commit 166792b

Please sign in to comment.