commit e455d2ec855aa2b38e6722ab46e56919bba77c4a
parent a68e092593fa2999a81edd7a7e111e52076d5922
Author: Solderpunk <solderpunk@sdf.org>
Date: Fri, 22 May 2020 23:24:49 +0200
Actually create a missing config directory!
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/av98.py b/av98.py
@@ -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"