seb-bau / WowiPy

Wowiport OPENWOWI Api Wrapper für Python
GNU General Public License v3.0
0 stars 0 forks source link

DebitEntryType kann nicht None sein #4

Closed seb-bau closed 4 months ago

seb-bau commented 4 months ago

Traceback (most recent call last):

File "", line 198, in _run_module_as_main

File "", line 88, in _run_code

File "/usr/local/lib/python3.11/site-packages/wowicache/update_cache.py", line 380, in cache_to_db()

File "/usr/local/lib/python3.11/site-packages/wowicache/update_cache.py", line 315, in cache_to_db contracts = wowicon.get_license_agreements(fetch_all=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/usr/local/lib/python3.11/site-packages/wowipy/wowipy.py", line 549, in get_license_agreements ret_la = LicenseAgreement(**data) ^^^^^^^^^^^^^^^^^^^^^^^^

File "/usr/local/lib/python3.11/site-packages/wowipy/models.py", line 1485, in init self.debit_entry_type = DebitEntryType(**debit_entry_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

TypeError: wowipy.models.DebitEntryType() argument after ** must be a mapping, not NoneType