Mercurial > code > home > repos > homeauto
view service/arduinoNode/rdflib_patch.py @ 698:50b95bd96141
add scales watching time spent in exportToInflux
Ignore-this: 6359e703fdc9704081e6731924d2b61c
author | drewp@bigasterisk.com |
---|---|
date | Sun, 02 Feb 2020 14:40:55 -0800 |
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