Skip to content

Commit b382d33

Browse files
committed
Remove deps to appconfigs
1 parent 6710056 commit b382d33

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

qtapputils/managers/tests/test_shortcut_manager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from PyQt5.QtWidgets import QPushButton
1818
from PyQt5.QtGui import QKeySequence
1919
from PyQt5.QtCore import Qt
20-
from appconfigs.user import NoDefault
20+
2121
from qtapputils.managers.shortcuts import (
2222
ShortcutManager, ShortcutDefinition, ShortcutItem,
2323
ActionMenuSyncTranslator, TitleSyncTranslator, ToolTipSyncTranslator)
@@ -45,7 +45,7 @@ def __init__(self):
4545
self._config = {'file/save': 'Ctrl+S',
4646
'file/open': 'Ctrl+O'}
4747

48-
def get(self, section, option, default=NoDefault):
48+
def get(self, section, option):
4949
if section != 'shortcuts':
5050
raise KeyError(
5151
f"'section' should be 'shortcuts', but got {section}.")

0 commit comments

Comments
 (0)