code: def update_quota(self, quota_info, error=None):
          '''更新网盘容量信息'''
          if not quota_info or quota_info['errno'] != 0:
              return
          used = quota_info['used']
          total = quota_info['total']
          used_size = util.get_human_size(used)[0]
          total_size = util.get_human_size(total)[0]
          self.capicity_label.set_text('{0} / {1}'.format(used_size, total_size))
          self.progressbar.set_fraction(used / totalf update_quota(self, quota_info, error=None):
          '''更新网盘容量信息'''
          if not quota_info or quota_info['errno'] != 0:
              return
          used = quota_info['used']
          total = quota_info['total']
          used_size = util.get_human_size(used)[0]
          total_size = util.get_human_size(total)[0]
          self.capicity_label.set_text('{0} / {1}'.format(used_size, total_size))
          self.progressbar.set_fraction(used / total)
docs: 更新网盘容量信息