Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Commit

Permalink
Made the __init__.py sync with the RDFLib version
Browse files Browse the repository at this point in the history
To avoid version hell which I did at some point:-(
  • Loading branch information
iherman committed Dec 18, 2014
1 parent f4b364c commit 186bbcf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyMicrodata/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"""
This module implements the microdata->RDF algorithm, as documented by the U{W3C Semantic Web Interest Group
Note<http://www.w3.org/TR/2012/NOTE-microdata-rdf-20120308/>}.
Note<http://www.w3.org/TR/2012/NOTE-microdata-rdf-20141216/>}.
The module can be used via a stand-alone script (an example is part of the distribution) or bound to a CGI script as a Web Service. An example CGI script is also added to the distribution. Both the local script and the distribution may have to be adapted to local circumstances.
Expand Down Expand Up @@ -192,8 +192,8 @@ def _get_input(self, name) :
self.base = url_request.location
return url_request.data
else :
self.base = name
return file(name)
self.base = 'file://'+name
return open(name, 'rb')
else :
return name

Expand Down

0 comments on commit 186bbcf

Please sign in to comment.