Skip to content

Fix error when passed "00:00:00" #7

Description

@ooyendyk

When passing the argument "00:00:00", visual_timer passes the following error:

Traceback (most recent call last): File "visual_timer.py", line 45, in <module> y_sec_unit = timer_functions.divide_y(timer_set, dimensions[0]) File "/home/user/Documents/Code/visual_timer/visual_timer/timer_functions.py", line 46, in divide_y y_sec_unit = y_dim/timer_set ZeroDivisionError: division by zero

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions