about summary refs log tree commit diff
path: root/gn/packages/patches/python-twint-userlist.patch
diff options
context:
space:
mode:
authorpjotrp2026-03-22 13:39:41 +0100
committerpjotrp2026-03-22 13:39:41 +0100
commit9501b18f31285554b80db89473d6846692284396 (patch)
tree21eedd25533b28930eaec86166ec67283cdaddd3 /gn/packages/patches/python-twint-userlist.patch
parent039e3091ac0866d35aa08015c0fc71778599b8d4 (diff)
downloadguix-bioinformatics-9501b18f31285554b80db89473d6846692284396.tar.gz
move patches
Diffstat (limited to 'gn/packages/patches/python-twint-userlist.patch')
-rw-r--r--gn/packages/patches/python-twint-userlist.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/gn/packages/patches/python-twint-userlist.patch b/gn/packages/patches/python-twint-userlist.patch
new file mode 100644
index 0000000..1d5b860
--- /dev/null
+++ b/gn/packages/patches/python-twint-userlist.patch
@@ -0,0 +1,19 @@
+diff --git a/twint/cli.py b/twint/cli.py
+index f463d68..68244c9 100644
+--- a/twint/cli.py
++++ b/twint/cli.py
+@@ -69,10 +69,10 @@ def loadUserList(ul, _type):
+     else:
+         userlist = ul.split(",")
+     if _type == "search":
+-        un = ""
+-        for user in userlist:
+-            un += "%20OR%20from%3A" + user
+-        return un[15:]
++        un = userlist[0]
++        for user in userlist[1:]:
++            un += " OR from:" + user
++        return un
+     return userlist
+ 
+