Skip to content

Commit

Permalink
Improved scan estimated time process
Browse files Browse the repository at this point in the history
  • Loading branch information
OSINT-TECHNOLOGIES committed Sep 9, 2024
1 parent a6e2b2a commit 19353df
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dpulse.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ def time_processing(end):
endtime_string = f'approximately {endtime} seconds'
else:
time_minutes = round(end / 60)
endtime_string = f'approximately {time_minutes} minutes'
if time_minutes == 1:
endtime_string = f'approximately {time_minutes} minute'
else:
endtime_string = f'approximately {time_minutes} minutes'
return endtime_string

class ProgressBar(threading.Thread):
Expand Down

0 comments on commit 19353df

Please sign in to comment.