mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-17 23:05:11 -05:00
Merge pull request #660 from Prinz23/ical_fix
Remove old Code that caused an exception in the iCal Feed
This commit is contained in:
commit
f404f6f3ee
@ -417,10 +417,6 @@ class MainHandler(RequestHandler):
|
|||||||
|
|
||||||
logger.log(u"Receiving iCal request from %s" % self.request.remote_ip)
|
logger.log(u"Receiving iCal request from %s" % self.request.remote_ip)
|
||||||
|
|
||||||
poster_url = self.request.url().replace('ical', '')
|
|
||||||
|
|
||||||
time_re = re.compile('([0-9]{1,2})\:([0-9]{2})(\ |)([AM|am|PM|pm]{2})')
|
|
||||||
|
|
||||||
# Create a iCal string
|
# Create a iCal string
|
||||||
ical = 'BEGIN:VCALENDAR\r\n'
|
ical = 'BEGIN:VCALENDAR\r\n'
|
||||||
ical += 'VERSION:2.0\r\n'
|
ical += 'VERSION:2.0\r\n'
|
||||||
|
Loading…
Reference in New Issue
Block a user