aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Bonnici <marc.bonnici@arm.com>2019-01-30 15:10:29 +0000
committersetrofim <setrofim@gmail.com>2019-01-30 15:46:54 +0000
commit31a5a95803a4d8d45d049a723de8c6978e543b4a (patch)
treeaf39c5891c517f5fdd912dc51741b5f45c69522f
parent3f202205a5b056f3c17ff21eb1988672738d6827 (diff)
output_processors/postgresql: Ensure screen resolution is a list
Ensure that the screen resolution is converted to a list to prevent casting errors.
-rw-r--r--wa/output_processors/postgresql.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wa/output_processors/postgresql.py b/wa/output_processors/postgresql.py
index a2fa27b8..ba1ef379 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
- 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'),