Browse Source

Removed unused variables

master 0.4.2
Amelia A 1 year ago
parent
commit
a7b5ea4e20
Signed by: amy GPG Key ID: 98E879BC3B6E1BF8
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      tootlogger/cli.py

+ 2
- 2
tootlogger/cli.py View File

@ -30,12 +30,12 @@ def load_config():
global CONFIG_FILE
try:
return toml.load(CONFIG_FILE)
except FileNotFoundError as e:
except FileNotFoundError:
try:
# We write back to the global so that we save to the right file
CONFIG_FILE = os.path.join(Path.home(), f".{CONFIG_FILE}")
return toml.load(CONFIG_FILE)
except FileNotFoundError as e:
except FileNotFoundError:
fatal("You need to copy the main config file & add your settings")


Loading…
Cancel
Save