collect.py: fix scan method file content decoding
authorPetr Štetiar <ynezz@true.cz>
Sun, 13 Sep 2020 08:46:20 +0000 (10:46 +0200)
committerPetr Štetiar <ynezz@true.cz>
Sun, 13 Sep 2020 09:23:38 +0000 (11:23 +0200)
commit1891e021306a9a1f8fedc578e6477ce4282ba1d2
treeec0ec656bd8c20c33b0c1c47d2988e01c9dc6c90
parent7297db81ba0a559457ff3e32157fc4c342528f53
collect.py: fix scan method file content decoding

Fixes following error:

 File "misc/collect.py", line 54, in merge_profiles
     obj = json.loads(content.decode("utf-8"))
 AttributeError: 'str' object has no attribute 'decode'

Signed-off-by: Petr Štetiar <ynezz@true.cz>
misc/collect.py