Skip to content

Commit

Permalink
Fix a bug in _select_ciselnik.
Browse files Browse the repository at this point in the history
I forgot one spot when the openDialog arguments changed in
512bc5e.

For #132.
  • Loading branch information
TomiBelan committed Jan 15, 2019
1 parent 512bc5e commit 63901d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fladgejt/webui/commonui.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from aisikl.app import assert_ops
from aisikl.exceptions import AISBehaviorError
from fladgejt.helpers import find_row_insensitive


Expand All @@ -20,7 +21,7 @@ def _select_ciselnik(self, app, text, select_button, compare_column):

assert_ops(ops, 'openDialog')

if ops[0].args[2] != 'SSSC001':
if ops[0].args[0]['code'] != 'SSSC001':
raise AISBehaviorError("AIS opened an unexpected dialog: {}".format(ops))

app.awaited_open_dialog(ops)
Expand Down

0 comments on commit 63901d2

Please sign in to comment.