Skip to content

Commit 61b1c9a

Browse files
committed
Made _asubprocess_run a staticmethod
1 parent 1e7ddcf commit 61b1c9a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cogs/plugins.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ def __init__(self, bot: Bot):
2929
self.bot = bot
3030
self.bot.loop.create_task(self.download_initial_plugins())
3131

32-
def _asubprocess_run(self, cmd):
32+
@staticmethod
33+
def _asubprocess_run(cmd):
3334
return subprocess.run(cmd, shell=True, check=True,
3435
capture_output=True)
3536

0 commit comments

Comments
 (0)