diff --git a/lbry/extras/daemon/daemon.py b/lbry/extras/daemon/daemon.py index d1aa92de59..87362f5719 100644 --- a/lbry/extras/daemon/daemon.py +++ b/lbry/extras/daemon/daemon.py @@ -5485,9 +5485,10 @@ async def get_channel_or_error( raise ValueError(f"Couldn't find channel with channel_{key} '{value}'.") @staticmethod - def get_dewies_or_error(argument: str, lbc: str, positive_value=False, - everything=False, default_value=None, - argument_everything=None): + def get_dewies_or_error(argument: str, lbc: Optional[str], + positive_value: bool = False, everything: bool = False, + default_value: Optional[int] = None, + argument_everything: Optional[str] = None) -> int: if everything: if lbc is not None: argument_everything = argument_everything or argument + '_everything'