mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2025-10-28 01:09:26 +00:00
Start of web interface
This commit is contained in:
19
main.py
19
main.py
@@ -33,6 +33,11 @@ if __name__ == '__main__':
|
||||
# Set up logging
|
||||
root = logging.getLogger()
|
||||
root.setLevel(logging.INFO)
|
||||
handler = logging.StreamHandler(sys.stdout)
|
||||
handler.setLevel(logging.INFO)
|
||||
formatter = logging.Formatter("%(message)s")
|
||||
handler.setFormatter(formatter)
|
||||
root.addHandler(handler)
|
||||
logging.info("Starting...")
|
||||
|
||||
# Shut down gracefully on SIGINT
|
||||
@@ -40,13 +45,13 @@ if __name__ == '__main__':
|
||||
|
||||
# Create providers
|
||||
providers = [
|
||||
# POTA(),
|
||||
# SOTA(),
|
||||
# WWFF(),
|
||||
# WWBOTA(),
|
||||
# GMA(),
|
||||
# HEMA(),
|
||||
# ParksNPeaks(),
|
||||
POTA(),
|
||||
SOTA(),
|
||||
WWFF(),
|
||||
WWBOTA(),
|
||||
GMA(),
|
||||
HEMA(),
|
||||
ParksNPeaks(),
|
||||
DXCluster("hrd.wa9pie.net", 8000),
|
||||
# DXCluster("dxc.w3lpl.net", 22)
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user