support termux

This commit is contained in:
ed 2019-07-16 21:43:37 +00:00
parent 64274ca756
commit e679d1f5f8

View file

@ -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