Compatibility with Python 3.8

This commit is contained in:
Ian Renton
2026-03-31 21:13:18 +01:00
parent 041216c5bb
commit 14c4e6f221
15 changed files with 41 additions and 37 deletions

View File

@@ -3,7 +3,7 @@ import re
from datetime import datetime
import pytz
from rss_parser import RSSParser
from rss_parser import Parser
from data.sig_ref import SIGRef
from data.spot import Spot
@@ -23,7 +23,7 @@ class WOTA(HTTPSpotProvider):
def _http_response_to_spots(self, http_response):
new_spots = []
rss = RSSParser.parse(http_response.content.decode())
rss = Parser.parse(http_response.content.decode())
# Iterate through source data
for source_spot in rss.channel.items: