diff --git a/onboardapis/train/de/db/interfaces.py b/onboardapis/train/de/db/interfaces.py index fe9ab57..2a1ec10 100644 --- a/onboardapis/train/de/db/interfaces.py +++ b/onboardapis/train/de/db/interfaces.py @@ -292,7 +292,5 @@ def disable(self) -> None: def is_enabled(self) -> bool: """WIP: does not work reliably yet""" response = self._api.get('/auth/login.php') - from pathlib import Path - Path('latest-web-page.html').write_bytes(response.content) soup = BeautifulSoup(response.text, 'html.parser') return soup.select_one('[href*="/logoff"]') is not None