Skip to content

Commit 67d25d2

Browse files
committed
Fix spaces handling in device emulator
1 parent da55f09 commit 67d25d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test_utils/device_emulator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def do_POST(self):
171171
for arg in argsList:
172172
key, value = arg.split('=')[0:2]
173173
if key == 'name':
174-
name = urllib.parse.unquote(value)
174+
name = urllib.parse.unquote_plus(value)
175175
elif key.startswith('dim'):
176176
assert key in dimmers_settings
177177
dimSettings = [int(dimSetting) for dimSetting in value.split(',')]

0 commit comments

Comments
 (0)