Skip to content

Commit

Permalink
hint
Browse files Browse the repository at this point in the history
  • Loading branch information
krypton-byte committed Aug 16, 2022
1 parent 580e7b2 commit 06306c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snapsave/snapsave.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from enum import Enum


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


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

def __gt__(self, comp: Quality):
def __gt__(self, comp: Quality) -> Quality:
return self.value > comp.value


Expand Down

0 comments on commit 06306c7

Please sign in to comment.