Skip to content
Snippets Groups Projects
Commit 9e7d0938 authored by Sébastien Helleu's avatar Sébastien Helleu
Browse files

Fix hdata decoding when it is empty

parent c5db81a1
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -243,8 +243,8 @@ class Protocol:
path = self._obj_str()
keys = self._obj_str()
count = self._obj_int()
list_path = path.split('/')
list_keys = keys.split(',')
list_path = path.split('/') if path else []
list_keys = keys.split(',') if keys else []
keys_types = []
dict_keys = WeechatDict()
for key in list_keys:
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment