Skip to content

Commit

Permalink
Minor format
Browse files Browse the repository at this point in the history
  • Loading branch information
ppizarror committed Aug 7, 2019
1 parent c7e2803 commit 07ac15d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pygameMenu/menu.py
Expand Up @@ -931,7 +931,8 @@ def get_input_data(self, recursive=False, depth=0):
subdata_keys = data_submenu.keys()
for key in subdata_keys: # type: str
if key in data_keys:
raise ValueError('Colission between widget data ID="{0}" at depth={1}'.format(key, depth))
msg = 'Colission between widget data ID="{0}" at depth={1}'.format(key, depth)
raise ValueError(msg)

# Update data
data.update(data_submenu)
Expand Down

0 comments on commit 07ac15d

Please sign in to comment.