Skip to content

Commit

Permalink
refactor: changed annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
Picred committed Oct 24, 2023
1 parent d9f1de3 commit c926392
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/main_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
def get_wel(lan_code: str) -> str:

with open("src/welcome.json", "r") as f:
wlc_mess_list = main.load(f)[lan_code]["sentences"]
wlc_mess_list = main.load(f)[lan_code]['sentences']

#first element of the list
return wlc_mess_list[0].replace("USER","@user")
Expand Down

0 comments on commit c926392

Please sign in to comment.