Cleanup run_many() function

pull/2041/head
Cyteon 1 year ago committed by GitHub
parent 15b00dbc41
commit 3a9b098716
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -66,21 +66,13 @@ def main(POST_ID=None) -> None:
def run_many(times) -> None: def run_many(times) -> None:
if not settings.config["settings"]["mememode"]: for x in range(1, times + 1):
for x in range(1, times + 1): print_step(
print_step( f'on the {x}{("th", "st", "nd", "rd", "th", "th", "th", "th", "th", "th")[x % 10]} iteration of {times}'
f'on the {x}{("th", "st", "nd", "rd", "th", "th", "th", "th", "th", "th")[x % 10]} iteration of {times}' ) # correct 1st 2nd 3rd 4th 5th....
) # correct 1st 2nd 3rd 4th 5th.... main()
main() Popen("cls" if name == "nt" else "clear", shell=True).wait()
Popen("cls" if name == "nt" else "clear", shell=True).wait() if settings.config["settings"]["mememode"]:
else:
for x in range(1, times + 1):
print_step(
f'on the {x}{("th", "st", "nd", "rd", "th", "th", "th", "th", "th", "th")[x % 10]} iteration of {times}'
) # correct 1st 2nd 3rd 4th 5th....
main()
Popen("cls" if name == "nt" else "clear", shell=True).wait()
make_meme_video() make_meme_video()
def make_meme_video(): def make_meme_video():

Loading…
Cancel
Save