mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-17 18:51:04 +01:00
bug fix: phpmyadmin
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import subprocess
|
||||
import json
|
||||
|
||||
command = 'postqueue -j'
|
||||
|
||||
result = subprocess.check_output(command, shell=True).decode().split('\n')
|
||||
|
||||
result = result[0]
|
||||
|
||||
data = json.loads(result)
|
||||
|
||||
print(data['queue_name'])
|
||||
Reference in New Issue
Block a user