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: try:
os.mkdir(self.cfg) os.makedirs(self.cfg)
except: except:
if not os.path.isdir(self.cfg): if not os.path.isdir(self.cfg):
raise raise