Skip to content

Commit

Permalink
fixed a bug that chyrosran found, now spaces in key names work properly
Browse files Browse the repository at this point in the history
  • Loading branch information
dekuNukem committed Dec 3, 2020
1 parent a87973a commit d27fe9e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pc_software/duck_objs.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def get_keyname(self, path, index):
try:
with open(os.path.join(os.path.dirname(path), "config.txt")) as ffffff:
for line in ffffff:
this_split = line.replace('\n','').replace('\r','').split(' ')
this_split = line.replace('\n','').replace('\r','').split(' ', 1)
if this_split[0].startswith('z') and int(this_split[0][1:]) == index:
ret = this_split[1]
break
Expand Down
2 changes: 1 addition & 1 deletion pc_software/duckypad_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
if 'linux' in sys.platform:
default_button_color = 'grey'

THIS_VERSION_NUMBER = '0.8.1'
THIS_VERSION_NUMBER = '0.8.2'
MAIN_WINDOW_WIDTH = 800
MAIN_WINDOW_HEIGHT = 600
MAIN_COLOUM_HEIGHT = 533
Expand Down
Binary file modified sample_profiles.zip
Binary file not shown.

0 comments on commit d27fe9e

Please sign in to comment.