Skip to content

Commit

Permalink
Merge pull request #406 from gromgull/pymicrodata-base-fix
Browse files Browse the repository at this point in the history
microdata fix: add file:// to base if it's a filename
  • Loading branch information
gromgull committed Jul 11, 2014
2 parents 45cbc63 + d77e3a4 commit d0ff327
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rdflib/plugins/parsers/pyMicrodata/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def _get_input(self, name) :
self.base = url_request.location
return url_request.data
else :
self.base = name
self.base = 'file://'+name
return open(name, 'rb')
else :
return name
Expand Down

0 comments on commit d0ff327

Please sign in to comment.