1
0
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:
echel0n 2014-07-27 04:59:38 -07:00
commit f404f6f3ee

View File

@ -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'