Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

Commit 640493a7 authored by Maude Le Jeune's avatar Maude Le Jeune
Browse files

debug add/remove tag

parent 73efe059
......@@ -76,6 +76,8 @@ class Pipe():
self.conn = self.cache.getdb(pipepath, dbfile)
if tag:
s = self.conn.execute('select seg_id from segments where tag == ?',(tag,)).fetchone()
if s is None:
s = self.conn.execute('select seg_id from segments where tag == ?',(";"+tag,)).fetchone()
else:
s = self.conn.execute('select seg_id from segments where curr_dir like ?',("%"+self.path+"%",)).fetchone()
lstseg = [s[0]]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment