diff --git a/radicale/pathutils.py b/radicale/pathutils.py index df039418..5e87fa16 100644 --- a/radicale/pathutils.py +++ b/radicale/pathutils.py @@ -77,7 +77,7 @@ if sys.platform == "linux": RENAME_EXCHANGE: int = 2 try: - renameat2 = ctypes.CDLL("", use_errno=True).renameat2 + renameat2 = ctypes.CDLL(None, use_errno=True).renameat2 except AttributeError: pass else: