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()