From 358fa9d0595f3ecf5f6106c0a50f50b186abe2d1 Mon Sep 17 00:00:00 2001
From: Timothe Jost <timothe.jost@wanadoo.fr>
Date: Wed, 13 Sep 2023 19:58:03 +0200
Subject: [PATCH] fixing a small issue

---
 one/webclient.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/one/webclient.py b/one/webclient.py
index e89ade8..33f695c 100644
--- a/one/webclient.py
+++ b/one/webclient.py
@@ -1062,7 +1062,7 @@ class AlyxClient():
             # add to url data if it is a string
             if id:
                 # this is a special case of the list where we query a uuid. Usually read is better
-                if 'django' in kwargs.keys():
+                if 'django' in kwargs.keys() and kwargs["django"] != "" :
                     kwargs['django'] = kwargs['django'] + ','
                 else:
                     kwargs['django'] = ""
-- 
GitLab