Hotfix for Okteto users

pull/1/head
hikari.ftg 2022-04-01 20:15:37 +00:00
parent becec46e97
commit 4583c98c1f
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ class OktetoMod(loader.Module):
async def watcher(self, message: Message) -> None:
if (
not hasattr(message, "raw_text", False)
not getattr(message, "raw_text", False)
or "OKTETO_URI" not in os.environ
or os.environ["OKTETO_URI"] not in message.raw_text
and "Link previews was updated successfully" not in message.raw_text