Use getTempDir()...
This commit is contained in:
parent
0cedf783d9
commit
a607aeb127
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ from classes.smtp import SMTP
|
||||||
|
|
||||||
config = Config("settings.ini")
|
config = Config("settings.ini")
|
||||||
|
|
||||||
tempdir = pathlib.Path(config["MONSTER"].get("TempDir", "/tmp/MailMonster/"))
|
tempdir = config.getTempDir()
|
||||||
|
|
||||||
if not tempdir.exists():
|
if not tempdir.exists():
|
||||||
tempdir.mkdir()
|
tempdir.mkdir()
|
||||||
|
|
Loading…
Reference in a new issue