Skip to content

Commit

Permalink
Merge pull request #18364 from jdavcs/241_bug_reverse_bool
Browse files Browse the repository at this point in the history
[24.1] Fix check for anonymous
  • Loading branch information
jdavcs authored Jun 11, 2024
2 parents 2585d1e + d0414c3 commit cea7eb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/files/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"))

0 comments on commit cea7eb0

Please sign in to comment.