def random_main_page_screenshot(self):
    from Screenshot import Screenshot
    screens = Screenshot.objects.filter(project = self)
    
    if len(screens) is 0:
      return None

    return screens[random.randint(0, 1 - len(screens))].main_page_url()
dataset/ETHPy150Open natestedman/Observatory/observatory/dashboard/models/Project.py/Project.random_main_page_screenshot/swapped operands of `-`