Skip to content

Commit

Permalink
fix path issue (#67)
Browse files Browse the repository at this point in the history
Problem here is that it changes directory to the tmp path later on, and then tries to reference this file by its relative path.
  • Loading branch information
chilcote authored Jun 5, 2020
1 parent a7e5280 commit f0990da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generatejson.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def getpkginfo(filename):
return "", ""

else:
pkgInfoPath = extractpkginfo(filename)
pkgInfoPath = extractpkginfo(os.path.abspath(filename))
dom = minidom.parse(pkgInfoPath)
pkgRefs = dom.getElementsByTagName('pkg-info')
for ref in pkgRefs:
Expand Down

0 comments on commit f0990da

Please sign in to comment.