From 31a5a95803a4d8d45d049a723de8c6978e543b4a Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Wed, 30 Jan 2019 15:10:29 +0000 Subject: output_processors/postgresql: Ensure screen resolution is a list Ensure that the screen resolution is converted to a list to prevent casting errors. --- wa/output_processors/postgresql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'), -- cgit v1.2.3