Skip to content

Commit

Permalink
Fix spaces handling in device emulator
Browse files Browse the repository at this point in the history
  • Loading branch information
Tsar committed Sep 7, 2021
1 parent da55f09 commit 67d25d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_utils/device_emulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def do_POST(self):
for arg in argsList:
key, value = arg.split('=')[0:2]
if key == 'name':
name = urllib.parse.unquote(value)
name = urllib.parse.unquote_plus(value)
elif key.startswith('dim'):
assert key in dimmers_settings
dimSettings = [int(dimSetting) for dimSetting in value.split(',')]
Expand Down

0 comments on commit 67d25d2

Please sign in to comment.