Re-simplified plugin dirs
This commit is contained in:
parent
f10ae438e0
commit
24c5eac1b9
@ -1,7 +1,7 @@
|
|||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
from plugins import plugin
|
import plugin
|
||||||
|
x = plugin.Plugin()
|
||||||
def ping(arguments):
|
def ping(arguments):
|
||||||
response = subprocess.run(["ping","-c","1",arguments['hostname']],
|
response = subprocess.run(["ping","-c","1",arguments['hostname']],
|
||||||
stdout = subprocess.DEVNULL, stderr = subprocess.PIPE)
|
stdout = subprocess.DEVNULL, stderr = subprocess.PIPE)
|
||||||
Loading…
x
Reference in New Issue
Block a user