1
0
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:
A_D 2020-12-24 13:12:34 +02:00 committed by Athanasius
parent 59c14e6046
commit d95db448e8

View File

@ -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: