IEEE-NITK / Embedathon-Website

Django based web application to host IEEE NITK's flagship embedded systems hackathon, Embedathon
2 stars 1 forks source link

Zero point tasks #50

Open nishant-nayak opened 1 year ago

nishant-nayak commented 1 year ago

Description

If the first task is a zero point task, a ZeroDivisionError is encountered.

Steps to Reproduce

  1. Create a task with zero points
  2. Update max task visible for all participants
  3. Try accessing the home page
  4. See ZeroDivisionError

Expected Results

Dashboard with 0 points

Actual results

Internal Server Error

Screenshots (optional)

Configuration

Browser

Which browser are you encountering the problem on?

Operating System

Which OS are you using?