fix(BAN-B607):
This commit is contained in:
parent
969ff8c351
commit
d7a2330fb6
2 changed files with 3 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
||||||
import os
|
import os
|
||||||
from collections import namedtuple
|
from collections import namedtuple
|
||||||
|
|
||||||
build = os.popen("git rev-parse --short HEAD").read().strip()
|
build = os.popen("/usr/bin/git rev-parse --short HEAD").read().strip()
|
||||||
info = os.popen('git log -n 1 -s --format="%s"').read().strip()
|
info = os.popen('/usr/bin/git log -n 1 -s --format="%s"').read().strip()
|
||||||
|
|
||||||
VersionInfo = namedtuple(
|
VersionInfo = namedtuple(
|
||||||
"VersionInfo", "major minor micro releaselevel build, info"
|
"VersionInfo", "major minor micro releaselevel build, info"
|
||||||
|
|
|
@ -77,7 +77,7 @@ def debug_info() -> NoReturn:
|
||||||
tuxbot_version = __version__
|
tuxbot_version = __version__
|
||||||
dpy_version = discord.__version__
|
dpy_version = discord.__version__
|
||||||
|
|
||||||
uptime = os.popen("uptime").read().strip().split()
|
uptime = os.popen("/usr/bin/uptime").read().strip().split()
|
||||||
|
|
||||||
console.print(
|
console.print(
|
||||||
Panel("[bold blue]Debug Info", style="blue"), justify="center"
|
Panel("[bold blue]Debug Info", style="blue"), justify="center"
|
||||||
|
|
Loading…
Reference in a new issue