mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-16 07:12:17 +03:00
Fixed getint not passing default arg
This commit is contained in:
parent
59c14e6046
commit
d95db448e8
@ -206,7 +206,7 @@ class AbstractConfig(abc.ABC):
|
|||||||
:raises OSError: on windows, if a registry error occurs.
|
:raises OSError: on windows, if a registry error occurs.
|
||||||
"""
|
"""
|
||||||
warnings.warn(DeprecationWarning('getint is Deprecated. Use get_int instead'))
|
warnings.warn(DeprecationWarning('getint is Deprecated. Use get_int instead'))
|
||||||
return self.get_int(key, default)
|
return self.get_int(key, default=default)
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def get_int(self, key: str, *, default: int = 0) -> int:
|
def get_int(self, key: str, *, default: int = 0) -> int:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user