Skip to content

Commit

Permalink
Typing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mariofix committed May 8, 2023
1 parent 97417ef commit 3609e74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion thankyou/thankyou.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import Union
import secrets

# Translated list thanks to ChatGPT
Expand Down Expand Up @@ -265,7 +266,7 @@
]


def give_thanks(as_tuple=False) -> [str | tuple]:
def give_thanks(as_tuple: bool = False) -> Union[str, tuple]:
"""Returns translated "Thank You (Country)"
Selects one randomply from a list of tuples using secrets package
Expand Down

0 comments on commit 3609e74

Please sign in to comment.