Skip to content

Commit

Permalink
Fix bug with last one adding (",) in paste prompt.
Browse files Browse the repository at this point in the history
  • Loading branch information
CoolCat467 committed Dec 23, 2020
1 parent c9e4e67 commit fa6b9be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions MineOS Lang Translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@

__title__ = 'English to Lolcat lang file converter'
__author__ = 'CoolCat467'
__version__ = '0.0.0'
__version__ = '0.1.0'
__ver_major__ = 0
__ver_minor__ = 0
__ver_minor__ = 1
__ver_patch__ = 0

READ = 'English.lang'
Expand Down Expand Up @@ -56,7 +56,7 @@ def readLang(filename):
# Record value in dictionary saved as key to value
vsmap[n] = v
# Fix last one with wierdness
vsmap[n] = vsmap[n][:-1]
vsmap[n] = vsmap[n][:-3]
# Return created dictionary
return vsmap

Expand Down

0 comments on commit fa6b9be

Please sign in to comment.