mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2025-10-27 16:59:25 +00:00
Instantiate but disable providers. Closes #16
This commit is contained in:
@@ -13,15 +13,12 @@ from providers.provider import Provider
|
||||
# Provider for the APRS-IS.
|
||||
class APRSIS(Provider):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
def __init__(self, provider_config):
|
||||
super().__init__(provider_config)
|
||||
self.thread = Thread(target=self.connect)
|
||||
self.thread.daemon = True
|
||||
self.aprsis = None
|
||||
|
||||
def name(self):
|
||||
return "APRS-IS"
|
||||
|
||||
def start(self):
|
||||
self.thread.start()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user