[senscritique] adapt to browser2
This commit is contained in:
parent
1114dbd516
commit
640504d79c
5 changed files with 197 additions and 159 deletions
|
|
@ -22,13 +22,10 @@ from weboob.capabilities.calendar import BaseCalendarEvent, TRANSP, STATUS, CATE
|
|||
|
||||
class SensCritiquenCalendarEvent(BaseCalendarEvent):
|
||||
|
||||
def __init__(self, _id):
|
||||
BaseCalendarEvent.__init__(self, _id)
|
||||
def __init__(self):
|
||||
BaseCalendarEvent.__init__(self)
|
||||
self.sequence = 1
|
||||
self.transp = TRANSP.TRANSPARENT
|
||||
self.status = STATUS.CONFIRMED
|
||||
self.category = CATEGORIES.TELE
|
||||
|
||||
@classmethod
|
||||
def id2url(cls, _id):
|
||||
return 'http://www.senscritique.com%s' % _id
|
||||
self.resume = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue