Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
gnthibault committed Aug 12, 2023
1 parent 83aba8d commit f7b888c
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions Mount/IndiAbstractMount.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,21 +86,6 @@ def _setup_abstract_config(self):
###############################################################################
# Mandatory overriden methods
###############################################################################
def connect(self, connect_device=True): # pragma: no cover
IndiMount.connect(self, connect_device=connect_device)

def disconnect(self):
if not self.is_parked:
try:
IndiMount.park(self)
self._is_parked = True
self.disconnect() # Disconnect indi server
except Exception as e:
self.logger.warning('Problem with park')
# by default, we assume that mount is in the "worst" situation

IndiMount.disconnect(self)

def initialize(self, *arg, **kwargs): # pragma: no cover
self.logger.debug(f"Initializing mount with args {arg}, {kwargs}")
self.connect()
Expand Down

0 comments on commit f7b888c

Please sign in to comment.