Mercurial > code > home > repos > homeauto
view service/arduinoNode/rdflib_patch.py @ 438:d453cdd8a86f
start dev mode nginx config. not working yet
Ignore-this: d18b11cd5566d844bf126b8a9e50b912
author | drewp@bigasterisk.com |
---|---|
date | Sat, 13 Apr 2019 20:56:30 -0700 |
parents | d228105749ac |
children |
line wrap: on
line source
def fixQnameOfUriWithTrailingSlash(): import rdflib.namespace old_split = rdflib.namespace.split_uri def new_split(uri): try: return old_split(uri) except Exception: return uri, '' rdflib.namespace.split_uri = new_split