Mercurial > code > home > repos > homeauto
view service/arduinoNode/rdflib_patch.py @ 305:6614416dd2c3
influx output for arduino, update web lib path
Ignore-this: 76b7fb15db86563ed3fa1ec5322b918c
author | drewp@bigasterisk.com |
---|---|
date | Fri, 16 Sep 2016 01:16:12 -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