Add setup wizard

Added a setup wizard that appears on first run, or when no config dir is
found.
This commit is contained in:
2020-05-02 18:32:58 +01:00
parent 16a7ceb8ea
commit 922987454f
9 changed files with 710 additions and 48 deletions

View File

@@ -177,3 +177,7 @@ class Smtp(Email):
err = f'{self.address}: Failed to send via smtp: '
err += type(e).__name__
log.error(err)
try:
log.error(e.smtp_error)
except:
pass