From ac96f1d8321ccf70be8e6cf3365390adea960ff5 Mon Sep 17 00:00:00 2001 From: p1-bmu Date: Wed, 30 Mar 2022 19:50:13 +0200 Subject: [PATCH] mobile.GTP: remove unneeded kwargs in GTPIEs --- pycrate_mobile/TS29060_GTP.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pycrate_mobile/TS29060_GTP.py b/pycrate_mobile/TS29060_GTP.py index 9fcafb0..9b6d276 100644 --- a/pycrate_mobile/TS29060_GTP.py +++ b/pycrate_mobile/TS29060_GTP.py @@ -2040,14 +2040,9 @@ class GTPIEs(Envelope): VERIF_MAND = True def __init__(self, *args, **kwargs): - if '_wopt' in kwargs: - wopt = kwargs['_wopt'] - del kwargs['_wopt'] - else: - wopt = False Envelope.__init__(self, *args, **kwargs) # ensure at least all mandatory IEs are there - self.init_ies(wopt=wopt) + self.init_ies(wopt=False) def _from_char(self, char): if self.get_trans():