def __init__(self): Singleton.__init__(self) Client.__init__(self) self.prefs = PluginPrefs("jamendo") self.username = self.get_preference("username", "") self.password = self.get_preference("password", "")
def __init__(self): Singleton.__init__(self) #TODO: really check if GPS is available self.gps_available = False self.lat = None self.long = None self.radius = 10 self.callback_location_updated = None self.remote_object = None
def __init__(self): Singleton.__init__(self) self.gd_client = gdata.photos.service.PhotosService() self.gd_client.email = '' self.gd_client.password = '' self.gd_client.source = 'Picasa plugin for Canola' self.logged = False self.login_error = '' self._user = '' self._password = '' self.albums ='' self.thumbs_path = '' self.outside_terra = False; #used to save the list of current downloading thumbs to avoid multiple #downloads for the same file self.thumbs_in_progress = {}; try: self.prefs = PluginPrefs("picasa") except: print "running outside canola" self.outside_terra = True;
def __init__(self): Singleton.__init__(self) Client.__init__(self) self.twitpic_client = TwitPicClient()