mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 06:23:34 -07:00
fix typing for protocol
This commit is contained in:
parent
903daab620
commit
4b5ded9f5c
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ TRANSLATIONS = CWD / "messages"
|
|||
|
||||
class Translator(Protocol):
|
||||
@abstractmethod
|
||||
def t(self, key, default=None, **kwargs):
|
||||
def t(self, key, default=None, **kwargs) -> str:
|
||||
pass
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue