Skip to content

Commit

Permalink
AddonManager: small bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Jun 13, 2019
1 parent c1c3dab commit aa43a28
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/Mod/AddonManager/addonmanager_workers.py
Expand Up @@ -600,12 +600,8 @@ def checkDependencies(self,baseurl):
if not depsurl.endswith("/"):
depsurl += "/"
depsurl += "master/metadata.txt"
try:
mu = urlopen(depsurl)
except:
# no metadata.txt, we just continue without deps checking
pass
else:
mu = urlopen(depsurl)
if mu:
# metadata.txt found
depsfile = mu.read()
mu.close()
Expand Down

0 comments on commit aa43a28

Please sign in to comment.