Mercurial > code > home > repos > homeauto
view service/arduinoNode/rdflib_patch.py @ 1303:f97e060d860c
rm old system to show pictures in a browser and change the pic according to commands sent from a pd graph
Ignore-this: 9272d0da16484a9214619d57343792b4
darcs-hash:0733126691c962eecac38b8689f23a00db92e5ee
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sun, 21 Apr 2019 02:57:17 -0700 |
parents | f707210c13bd |
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