@ -54,18 +54,6 @@ def main(subreddit_=None, background=None, filename=None, thread_link_=None):
)
configured = False
try:
float(os.getenv("OPACITY"))
except (
ValueError,
FloatingPointError,
TypeError,
):
console.print(
"[bold red]Please ensure that OPACITY is between 0 and 1 in .env file.[/bold red]"
raise SystemExit()
if configured:
console.print("[bold green]Enviroment Variables are set! Continuing...[/bold green]")