From f9d200a7d631f59020c30a3f97515ab5ac11f911 Mon Sep 17 00:00:00 2001 From: Daniel Spittank Date: Sun, 5 Feb 2017 13:02:21 +0100 Subject: [PATCH] =?UTF-8?q?Fix:=20EntscheidungsDialog=20f=C3=BCr=20Python3?= =?UTF-8?q?=20angepasst?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/Android/ui/dialoge/EntscheidungsDialog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Android/ui/dialoge/EntscheidungsDialog.py b/source/Android/ui/dialoge/EntscheidungsDialog.py index ee8d35a..49417d2 100644 --- a/source/Android/ui/dialoge/EntscheidungsDialog.py +++ b/source/Android/ui/dialoge/EntscheidungsDialog.py @@ -137,7 +137,7 @@ class EntscheidungsDialog(Dialog): androide.dialogSetNegativeButtonText(self.text2) androide.dialogShow() tmpErg = androide.dialogGetResponse().result - if tmpErg.has_key('which'): + if 'which' in tmpErg: if tmpErg['which'] == 'positive': self.ergebnis=1 elif tmpErg['which'] == 'negative':