Update gradio_keylock/component.py
Browse files
gradio_keylock/component.py
CHANGED
@@ -51,7 +51,9 @@ class AppServerLogic:
|
|
51 |
key = key.strip()
|
52 |
value = value.strip()
|
53 |
|
54 |
-
|
|
|
|
|
55 |
if (value.startswith('"') and value.endswith('"')) or \
|
56 |
(value.startswith("'") and value.endswith("'")):
|
57 |
value = value[1:-1]
|
|
|
51 |
key = key.strip()
|
52 |
value = value.strip()
|
53 |
|
54 |
+
if (key.startswith('"') and key.endswith('"')) or \
|
55 |
+
(key.startswith("'") and key.endswith("'")):
|
56 |
+
key = key[1:-1]
|
57 |
if (value.startswith('"') and value.endswith('"')) or \
|
58 |
(value.startswith("'") and value.endswith("'")):
|
59 |
value = value[1:-1]
|