diff --git a/tuxbot/__init__.py b/tuxbot/__init__.py index 48c2dbd..c59fb6e 100644 --- a/tuxbot/__init__.py +++ b/tuxbot/__init__.py @@ -1,8 +1,8 @@ import os from collections import namedtuple -build = os.popen("git rev-parse --short HEAD").read().strip() -info = os.popen('git log -n 1 -s --format="%s"').read().strip() +build = os.popen("/usr/bin/git rev-parse --short HEAD").read().strip() +info = os.popen('/usr/bin/git log -n 1 -s --format="%s"').read().strip() VersionInfo = namedtuple( "VersionInfo", "major minor micro releaselevel build, info" diff --git a/tuxbot/__run__.py b/tuxbot/__run__.py index 0a74120..2876b4a 100644 --- a/tuxbot/__run__.py +++ b/tuxbot/__run__.py @@ -77,7 +77,7 @@ def debug_info() -> NoReturn: tuxbot_version = __version__ dpy_version = discord.__version__ - uptime = os.popen("uptime").read().strip().split() + uptime = os.popen("/usr/bin/uptime").read().strip().split() console.print( Panel("[bold blue]Debug Info", style="blue"), justify="center"