diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4ae49ba --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +drastikbot diff --git a/src/drastikbot.py b/src/drastikbot.py index 31278f8..887790a 100755 --- a/src/drastikbot.py +++ b/src/drastikbot.py @@ -74,13 +74,13 @@ def parser(): " already exists.") conf_dir = str(path.expanduser().resolve()) else: - path = Path('~/.drastikbot').expanduser() + path = Path('./drastikbot').expanduser() if not path.is_dir(): try: path.mkdir(parents=True, exist_ok=False) except FileExistsError: sys.exit("[Error] Making configuration directory at" - " '~/.drastikbot' failed. Another file with that name" + " './drastikbot' failed. Another file with that name" " already exists.") conf_dir = str(path)