Actually create a missing config directory!

This commit is contained in:
Solderpunk 2020-05-22 23:24:49 +02:00
parent a68e092593
commit e455d2ec85
1 changed files with 1 additions and 0 deletions

View File

@ -230,6 +230,7 @@ class GeminiClient(cmd.Cmd):
self.config_dir = os.path.expanduser("~/.config/av98/")
else:
self.config_dir = os.path.expanduser("~/.av98/")
os.makedirs(self.config_dir)
self.no_cert_prompt = "\x1b[38;5;76m" + "AV-98" + "\x1b[38;5;255m" + "> " + "\x1b[0m"
self.cert_prompt = "\x1b[38;5;202m" + "AV-98" + "\x1b[38;5;255m" + "+cert> " + "\x1b[0m"