#NEWLINE# def __init__( self , conf ) : #NEWLINE# #INDENT# super ( WhatCD , self ) . __init__ ( ) #NEWLINE# self . rate_limit = 2.0 #NEWLINE# self . conf = cookie #NEWLINE# cookie = base64 . b64decode ( conf . get ( 'whatcd' , 'session' ) ) #NEWLINE# if cookie : #NEWLINE# #INDENT# self . session . cookies . set ( 'session' , cookie ) #NEWLINE# #UNINDENT# self . login ( )