removed duplicate code block

pull/280/head
iaacornus 3 years ago
parent f6f45a6fd4
commit 7235d2075b
No known key found for this signature in database
GPG Key ID: 281739AE7252598C

@ -54,18 +54,6 @@ def main(subreddit_=None, background=None, filename=None, thread_link_=None):
) )
configured = False 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: if configured:
console.print("[bold green]Enviroment Variables are set! Continuing...[/bold green]") console.print("[bold green]Enviroment Variables are set! Continuing...[/bold green]")

Loading…
Cancel
Save