Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
when download tools zip, if the directory not exists, the script crea…
Browse files Browse the repository at this point in the history
…te it
  • Loading branch information
mcendon committed May 10, 2017
1 parent b7373dc commit a13237e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apk2java.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ def check_home(path):
return os.path.isdir(path+"/tool")

def getunzipped(theurl, thedir, report):
if not os.path.exists(thedir):
os.mkdir(thedir)
print ("Downloading external tool... -> "+thedir+"/tool/")
name = os.path.join(thedir, 'temp.zip')
try:
Expand Down

0 comments on commit a13237e

Please sign in to comment.