示例#1
0
 def save_to_database(self):
     """ Save the fields of this object to the database. """
     dbm = DBManager()
     if dbm.get_artist_dict(self.mbid):
         return
     dbm.add_artist_record(self)