Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions src/instawebhooks/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,11 @@

try:
from aiohttp import ClientSession
except ModuleNotFoundError as exc:
raise SystemExit("Aiohttp not found.\n pip install [--user] aiohttp") from exc

try:
from discord import Embed, File, SyncWebhook
except ModuleNotFoundError as exc:
raise SystemExit(
"Discord.py not found.\n pip install [--user] discord.py"
) from exc

try:
from instaloader import Instaloader, LoginRequiredException, Post, Profile
except ModuleNotFoundError as exc:
raise SystemExit(
"Instaloader not found.\n pip install [--user] instaloader"
f"{exc.name} not found.\n pip install [--user] {exc.name}"
) from exc


Expand Down
Loading