From e679d1f5f881d474db2e4f6e5e030a493fa2f73e Mon Sep 17 00:00:00 2001 From: ed Date: Tue, 16 Jul 2019 21:43:37 +0000 Subject: [PATCH] support termux --- copyparty/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copyparty/__init__.py b/copyparty/__init__.py index ed021649..2acd1cc7 100644 --- a/copyparty/__init__.py +++ b/copyparty/__init__.py @@ -25,7 +25,7 @@ class EnvParams(object): ) try: - os.mkdir(self.cfg) + os.makedirs(self.cfg) except: if not os.path.isdir(self.cfg): raise