Skip to content

Commit

Permalink
Fix webscraper
Browse files Browse the repository at this point in the history
  • Loading branch information
ekzhang committed Jan 3, 2024
1 parent efd586a commit 825e7d7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion misc/webscraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ async def get_links(url: str) -> set[str]:


@stub.function(
image=slack_sdk_image, secret=modal.Secret.from_name("scraper-slack-secret")
image=slack_sdk_image,
secret=modal.Secret.from_name(
"scraper-slack-secret", environment_name="main"
),
)
def bot_token_msg(channel, message):
import slack_sdk
Expand Down

0 comments on commit 825e7d7

Please sign in to comment.