~piotr-machura/torrentmap

ec9d942e0e4fed47ca43727e8b60850e0ba5534e — Piotr Machura 1 year, 1 month ago 3fdb756 v1.0.1
Hotfix default directory creation
2 files changed, 2 insertions(+), 2 deletions(-)

M pyproject.toml
M torrentmap/cli.py
M pyproject.toml => pyproject.toml +1 -1
@@ 1,6 1,6 @@
[tool.poetry]
name = "torrentmap"
version = "1.0.0"
version = "1.0.1"
description = "Torrent scraping and geolocation tool"
authors = ["Piotr Machura <piotr@machura.xyz>"]
license = "GPL-2.0-only"

M torrentmap/cli.py => torrentmap/cli.py +1 -1
@@ 286,8 286,8 @@ def main():
            format="%(asctime)s [%(levelname)s] %(message)s",
            datefmt="%Y-%m-%d %H:%M:%S",
        )
        args.dir.mkdir(exist_ok=True)
        Torrent.DIR = args.dir.absolute()
        Torrent.DIR.mkdir(exist_ok=True)
        log.info("using %s as storage directory", Torrent.DIR)
        args.func(args)
        sys.stdout.flush()