mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-15 08:40:34 +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.
|
||||
"""
|
||||
warnings.warn(DeprecationWarning('getint is Deprecated. Use get_int instead'))
|
||||
return self.get_int(key, default)
|
||||
return self.get_int(key, default=default)
|
||||
|
||||
@abstractmethod
|
||||
def get_int(self, key: str, *, default: int = 0) -> int:
|
||||
|
Loading…
x
Reference in New Issue
Block a user