fix extra button

This commit is contained in:
rootzoll
2020-07-15 14:25:38 +02:00
parent bdc02ecb78
commit a32a1a1a40

View File

@@ -662,21 +662,21 @@ More information on the service you can find under:
be.errorShort == "timeout bridge not getting ready") : be.errorShort == "timeout bridge not getting ready") :
# error happend after payment # error happend after payment
exitcode=Dialog(dialog="dialog",autowidgetsize=True,extra_button=True,extra_label="Details").msgbox(''' exitcode=Dialog(dialog="dialog",autowidgetsize=True).msgbox('''
You DID PAY the initial fee. You DID PAY the initial fee.
But the service was not able to provide service. But the service was not able to provide service.
Subscription will be ignored. Subscription will be ignored.
Error: {0} Error: {0}
'''.format(be.errorShort),title="Error on Subscription") '''.format(be.errorShort),title="Error on Subscription",extra_button=True,extra_label="Details")
else: else:
# error happend before payment # error happend before payment
exitcode=Dialog(dialog="dialog",autowidgetsize=True,extra_button=True,extra_label="Details").msgbox(''' exitcode=Dialog(dialog="dialog",autowidgetsize=True).msgbox('''
You DID NOT PAY the initial fee. You DID NOT PAY the initial fee.
The service was not able to provide service. The service was not able to provide service.
Subscription will be ignored. Subscription will be ignored.
Error: {0} Error: {0}
'''.format(be.errorShort),title="Error on Subscription") '''.format(be.errorShort),title="Error on Subscription",extra_button=True,extra_label="Details")
# show more details (when user used extra button) # show more details (when user used extra button)
if exitcode == Dialog.EXTRA: if exitcode == Dialog.EXTRA: