From 22d0d2b25302fec435b2a5fca9a61cbbb8cab859 Mon Sep 17 00:00:00 2001
From: vermeul <swen@ethz.ch>
Date: Tue, 4 Dec 2018 02:14:09 +0100
Subject: [PATCH] ...

---
 pybis/src/python/pybis/pybis.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pybis/src/python/pybis/pybis.py b/pybis/src/python/pybis/pybis.py
index c66bb809c16..85010ba3904 100644
--- a/pybis/src/python/pybis/pybis.py
+++ b/pybis/src/python/pybis/pybis.py
@@ -136,6 +136,8 @@ def _type_for_id(ident, entity):
     # Tags have strange permIds...
     if entity.lower() == 'tag':
         if '/' in ident:
+            if not ident.startswith('/'):
+                ident = '/'+ident
             return {
                 "permId": ident,
                 "@type" : "as.dto.tag.id.TagPermId"
-- 
GitLab