Develop fast render #2

Merged
mgfcf merged 4 commits from develop_fast-render into master 2019-04-17 16:52:57 +02:00
Showing only changes of commit 0dcfe77f9e - Show all commits

View file

@ -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."""