From d0414c3d9501ab87c7ea7f7ba2b38d0f5866a7c1 Mon Sep 17 00:00:00 2001 From: John Davis Date: Mon, 10 Jun 2024 18:45:38 -0400 Subject: [PATCH] Fix check for anonymous --- lib/galaxy/files/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/files/__init__.py b/lib/galaxy/files/__init__.py index eb3542982883..b13b2e1db8c8 100644 --- a/lib/galaxy/files/__init__.py +++ b/lib/galaxy/files/__init__.py @@ -476,4 +476,4 @@ def file_sources(self): @property def anonymous(self) -> bool: - return bool(self._kwd.get("username")) + return not bool(self._kwd.get("username"))