diff options
Diffstat (limited to 'print_db.py')
-rwxr-xr-x | print_db.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/print_db.py b/print_db.py index f0fc45eda..6caa7bb87 100755 --- a/print_db.py +++ b/print_db.py @@ -140,6 +140,10 @@ def process_file(fn): hotseatIdMap = [] HOTSEAT_SIZE = 0 for d in data: + if d["spanX"] is None: + d["spanX"] = 1 + if d["spanY"] is None: + d["spanY"] = 1 if d["container"] == CONTAINER_DESKTOP: if d["screen"] not in screensIdMap: screensIdMap.append(d["screen"]) |