Skip to content

Commit

Permalink
Merge pull request #375 from fewtime/main
Browse files Browse the repository at this point in the history
Fix printing message if Tornado not found.
  • Loading branch information
matthew55 authored Sep 20, 2024
2 parents 805799d + 5e7a4c9 commit 3403e71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tornadoAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def tornado_init(TORNADO_EXTERNAL=None, DOCKER=False, loop=None):
load_dotenv()

if not os.getenv("TORNADO") and TORNADO_EXTERNAL is None:
printAndDiscord("Tornado environment variable not found.", loop)
print("Tornado not found, skipping...")
return None

if TORNADO_EXTERNAL is None:
Expand Down

0 comments on commit 3403e71

Please sign in to comment.