diff --git a/scratchattach/site/project.py b/scratchattach/site/project.py index e7d5e4e..dc27f22 100644 --- a/scratchattach/site/project.py +++ b/scratchattach/site/project.py @@ -186,8 +186,10 @@ def is_shared(self): boolean: Returns whether the project is currently shared """ try: - p = get_project(self.id) - return isinstance(p, Project) + with warnings.catch_warnings(): + warnings.simplefilter("ignore", category=exceptions.ProjectAuthenticationWarning) + p = get_project(self.id) + return isinstance(p, Project) except exceptions.ProjectNotFound: return False