From 388a2cde9118f57e5a4a6bba4a68b26c52440c5d Mon Sep 17 00:00:00 2001 From: Marc Mance Date: Thu, 1 Aug 2024 12:32:58 -0400 Subject: [PATCH] better try --- collect.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/collect.py b/collect.py index ae46e06..3554a09 100644 --- a/collect.py +++ b/collect.py @@ -367,10 +367,10 @@ def is_two_digit_number(number): def main(): welcome() - minutes = int(input("Enter the duration in minutes: ")) - minutesToWait = int(input("Enter the delay before capture in minutes: ")) - try: + minutes = int(input("Enter the duration in minutes: ")) + minutesToWait = int(input("Enter the delay before capture in minutes: ")) + if not minutesToWait: minutesToWait = 0