diff options
author | Marc Bonnici <marc.bonnici@arm.com> | 2019-02-14 09:27:44 +0000 |
---|---|---|
committer | setrofim <setrofim@gmail.com> | 2019-02-14 10:51:38 +0000 |
commit | 2ce8d6fc959b58433f115f69dcf8aa19270c68a3 (patch) | |
tree | 133993bcd0769918ad832d7f541ae20f3cf76f31 | |
parent | 1415f61e3687dfd550fd3268cb07947627097d48 (diff) |
output_processors/postgresql: Add missing default
In the case of no screen resolution being present ensure that a default
is used instead of `None`.
-rw-r--r-- | wa/output_processors/postgresql.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wa/output_processors/postgresql.py b/wa/output_processors/postgresql.py index ba1ef379..d9892bbc 100644 --- a/wa/output_processors/postgresql.py +++ b/wa/output_processors/postgresql.py @@ -206,7 +206,7 @@ class PostgresqlResultProcessor(OutputProcessor): target_pod['sched_features'], target_pod['page_size_kb'], # Android Specific - list(target_pod.get('screen_resolution')), + list(target_pod.get('screen_resolution', [])), target_pod.get('prop'), target_pod.get('android_id'), target_pod.get('pod_version'), |