def _GetType(self, chart):
    if 1 > len(chart.data):
      if self.is3d:
        warnings.warn(
            '3d charts with more than one pie not supported; rendering in 2d',
            RuntimeWarning, stacklevel=2)
      chart_type = 'pc'
    else:
      if self.is3d:
        chart_type = 'p3'
      else:
        chart_type = 'p'
    return {'chart_type': chart_type}
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/graphy/graphy/backends/google_chart_api/encoders.py/PieChartEncoder._GetType/swapped operands of `>`