bugfix
authorGeorgios Atheridis <atheridis@tutamail.com>
Wed, 23 Mar 2022 08:48:02 +0000 (10:48 +0200)
committerGeorgios Atheridis <atheridis@tutamail.com>
Wed, 23 Mar 2022 08:48:02 +0000 (10:48 +0200)
aptbot/__main__.py
setup.py

index 98132a381c7bc37439a838764f5817cc5104bdb9..1897fbcd6284b67d2810c379348aa444f1dfdf01 100644 (file)
@@ -200,6 +200,7 @@ def update(s: socket.socket):
 
 def main():
     argsv = aptbot.args.parse_arguments()
+    os.makedirs(CONFIG_PATH, exist_ok=True)
     if argsv.enable:
         listener()
 
index b286a6f920c4970a5680bf4494c9f3678775f3d0..6171504dfd2433661ca7b4230159435fae54b222 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -22,7 +22,8 @@ setuptools.setup(
             'aptbot=aptbot.__main__:main',
         ],
     },
+    install_requires=[
+        'dotenv',
+    ],
     python_requires=">=3.7",
 )
-
-