better try

This commit is contained in:
Marc Mance
2024-08-01 12:32:58 -04:00
parent 7affd375c5
commit 388a2cde91

View File

@@ -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