Skip to content

Commit

Permalink
[Downloader] [p]pipinstall: Handle no args
Browse files Browse the repository at this point in the history
  • Loading branch information
Twentysix26 authored and Tobotimus committed Feb 16, 2019
1 parent 278abec commit eebed27
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions redbot/cogs/downloader/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ async def _delete_cog(target: Path):
@checks.is_owner()
async def pipinstall(self, ctx, *deps: str):
"""Install a group of dependencies using pip."""
if not deps:
return await ctx.send_help()
repo = Repo("", "", "", Path.cwd(), loop=ctx.bot.loop)
success = await repo.install_raw_requirements(deps, self.LIB_PATH)

Expand Down

0 comments on commit eebed27

Please sign in to comment.