Skip to content

Commit 06306c7

Browse files
committed
hint
1 parent 580e7b2 commit 06306c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

snapsave/snapsave.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from enum import Enum
1111

1212

13-
def translate(text: str):
13+
def translate(text: str) -> bool:
1414
return text.lower() in ['iya', 'yes']
1515

1616

@@ -94,7 +94,7 @@ def from_res(
9494
def type(self) -> Type:
9595
return Type.AUDIO if isinstance(self.value, str) else Type.VIDEO
9696

97-
def __gt__(self, comp: Quality):
97+
def __gt__(self, comp: Quality) -> Quality:
9898
return self.value > comp.value
9999

100100

0 commit comments

Comments
 (0)