Develop fast render #2
1 changed files with 1 additions and 4 deletions
|
@ -4,10 +4,7 @@ from ics import Calendar
|
||||||
from datetime import datetime, timedelta, timezone
|
from datetime import datetime, timedelta, timezone
|
||||||
import re
|
import re
|
||||||
from settings import week_starts_on
|
from settings import week_starts_on
|
||||||
try:
|
from urllib.request import urlopen
|
||||||
from urllib.request import urlopen
|
|
||||||
except Exception as e:
|
|
||||||
print("Something didn't work right, maybe you're offline?" + e.reason)
|
|
||||||
|
|
||||||
class IcalEvents(CalendarInterface):
|
class IcalEvents(CalendarInterface):
|
||||||
"""Fetches events from ical addresses."""
|
"""Fetches events from ical addresses."""
|
||||||
|
|
Loading…
Reference in a new issue