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':