mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-09-20 14:27:42 +00:00
More ruff linter fixes
This commit is contained in:
+2
-1
@@ -1,6 +1,7 @@
|
||||
import importlib
|
||||
import logging
|
||||
import os
|
||||
import sys
|
||||
|
||||
import yaml
|
||||
|
||||
@@ -11,7 +12,7 @@ if not os.path.isfile("config.yml"):
|
||||
logger.error(
|
||||
"Your config file is missing. Ensure you have copied config-example.yml to config.yml and updated it according to your needs."
|
||||
)
|
||||
exit()
|
||||
sys.exit()
|
||||
|
||||
# Load config
|
||||
with open("config.yml") as f:
|
||||
|
||||
Reference in New Issue
Block a user