From 0c1e49d8b2e7ad6f8785f65df29b1e9251314e31 Mon Sep 17 00:00:00 2001 From: 64Core Date: Mon, 20 Mar 2023 23:35:31 -0500 Subject: [PATCH] Fix includes again --- itchiodl/game.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/itchiodl/game.py b/itchiodl/game.py index 6f00590..aabefe8 100644 --- a/itchiodl/game.py +++ b/itchiodl/game.py @@ -4,6 +4,7 @@ import urllib import datetime from os import path from os import mkdir +from os import makedirs import requests from sys import argv @@ -78,8 +79,8 @@ class Game: self.load_downloads(token) - if not os.path.exists(self.destination_path): - os.makedirs(self.destination_path) + if not path.exists(self.destination_path): + makedirs(self.destination_path) for d in self.downloads: if (