diff --git a/pybis/src/python/pybis/__init__.py b/pybis/src/python/pybis/__init__.py
index 570bd3341a40399daf2e4d1c0386a0d1e626bc1f..7f4206e229fdcbe8c71a12319716a44ec8bca467 100644
--- a/pybis/src/python/pybis/__init__.py
+++ b/pybis/src/python/pybis/__init__.py
@@ -1,7 +1,7 @@
 name = "pybis"
 __author__ = "Swen Vermeul • ID SIS • ETH Zürich"
 __email__ = "swen@ethz.ch"
-__version__ = "1.34.3"
+__version__ = "1.34.4"
 
 from . import pybis
 from .pybis import DataSet
diff --git a/pybis/src/python/pybis/pybis.py b/pybis/src/python/pybis/pybis.py
index f47ec196271b05a8e51ce3e65e32b04825ee1188..e950a8eb95c8d47687851c07d991df331e62aad5 100644
--- a/pybis/src/python/pybis/pybis.py
+++ b/pybis/src/python/pybis/pybis.py
@@ -1223,7 +1223,7 @@ class Openbis:
 
         lastIndexOfMinus = len(self.token) - "".join(reversed(self.token)).index("-") - 1
         token_user_name = session[0:lastIndexOfMinus]
-        if token_user_name.startswith("$pat-")
+        if token_user_name.startswith("$pat-"):
             token_user_name = token_user_name[5:]
         from pwd import getpwnam
 
diff --git a/pybis/src/python/setup.cfg b/pybis/src/python/setup.cfg
index 33b0f14c3ce2ce4686bda3249a5185481a086948..8327b75c94d51340ee63cb72a8c9236d28f9e2e2 100644
--- a/pybis/src/python/setup.cfg
+++ b/pybis/src/python/setup.cfg
@@ -1,6 +1,6 @@
 [metadata]
 name = PyBIS
-version = 1.34.3
+version = 1.34.4
 author = Swen Vermeul • ID SIS • ETH Zürich
 author_email = swen@ethz.ch
 license = Apache Software License Version 2.0
diff --git a/pybis/src/python/setup.py b/pybis/src/python/setup.py
index 78840d08bb3d75baecd09a07c037385fabe5fa60..58dae881b34ed01744ab4e34d46191380c5307cf 100644
--- a/pybis/src/python/setup.py
+++ b/pybis/src/python/setup.py
@@ -13,7 +13,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
 
 setup(
     name="PyBIS",
-    version="1.34.3",
+    version="1.34.4",
     author="Swen Vermeul • ID SIS • ETH Zürich",
     author_email="swen@ethz.ch",
     description="openBIS connection and interaction, optimized for using with Jupyter",