Skip to content

Commit 70e51e4

Browse files
authored
Merge pull request #33 from dev-five-git/fix-converter
Fix converter
2 parents a0bfc5b + da57062 commit 70e51e4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

braillove-case-collector/converter.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pattern = " a1b'k2l`cif/msp\"e3h9o6r^djg>ntq,*5<-u8v.%[$+x!&;:4\\0z7(_?w]#y)="
1+
pattern = " a1b'k2l@cif/msp\"e3h9o6r^djg>ntq,*5<-u8v.%[$+x!&;:4\\0z7(_?w]#y)="
22
braille = "⠀⠁⠂⠃⠄⠅⠆⠇⠈⠉⠊⠋⠌⠍⠎⠏⠐⠑⠒⠓⠔⠕⠖⠗⠘⠙⠚⠛⠜⠝⠞⠟⠠⠡⠢⠣⠤⠥⠦⠧⠨⠩⠪⠫⠬⠭⠮⠯⠰⠱⠲⠳⠴⠵⠶⠷⠸⠹⠺⠻⠼⠽⠾⠿"
33

44

@@ -20,9 +20,9 @@ def main():
2020
elif inp[i] == "~":
2121
output_num += "24"
2222
output_braille += braille[24]
23-
elif inp[i] == "@":
24-
output_num += "8"
25-
output_braille += braille[8]
23+
elif inp[i] == "`":
24+
output_num += "0"
25+
output_braille += braille[0]
2626
elif inp[i] == "|":
2727
output_num += "51"
2828
output_braille += braille[51]

0 commit comments

Comments
 (0)