Skip to content

Commit

Permalink
Use predefined attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-zenk committed May 2, 2024
1 parent de2df34 commit c1853f8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions onboardapis/train/de/tdh/apis.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import logging

from ...third_party.unwired import GenericUnwiredTrain, GenericUnwiredAPI, GenericUnwiredInternetAccessInterface
from ...third_party.unwired import GenericUnwiredTrain
from ...third_party.unwired.mixins import UnwiredJourneyMixin

logger = logging.getLogger(__name__)
Expand All @@ -12,7 +12,5 @@ class SBahnHannover(GenericUnwiredTrain, UnwiredJourneyMixin):
"""Implementation for the S-Bahn Hannover."""

def __init__(self) -> None:
self._api = GenericUnwiredAPI()
self._internet_access = GenericUnwiredInternetAccessInterface(self._api)
GenericUnwiredTrain.__init__(self)
UnwiredJourneyMixin.__init__(self)

0 comments on commit c1853f8

Please sign in to comment.