diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2021-03-23 03:09:40 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2021-03-23 03:09:40 +0300 |
commit | b8c7b0b6ef904d0262b846e914c10b59e159a8fd (patch) | |
tree | 526066443d1203c7a3c2e032d7a31d96f209c0c7 | |
parent | f42ce7e1431f58545350eca401e26b4cf8f43461 (diff) |
config_dir: fix
-rw-r--r-- | main.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,11 +1,12 @@ import pathlib +import os from argparse import ArgumentParser from pprint import pprint from e3372 import WebAPI, SMSHandler, SMS -config_dir = pathlib.Path.home() + '/.e3372-sms-handler' +config_dir = os.path.join(pathlib.Path.home(), '.e3372-sms-handler') def sms_handler(sms: SMS): |