Skip to content

Commit

Permalink
Merge pull request #194 from gryzus24/importtime
Browse files Browse the repository at this point in the history
Improve CLI startup time
  • Loading branch information
flozz committed Dec 5, 2022
2 parents 3f3c7f3 + 78eaba2 commit 517e501
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rivalcfg/debug.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import platform

import hid
from pkg_resources import get_distribution
from .version import VERSION
from . import udev
from .mouse import get_mouse
Expand Down Expand Up @@ -49,6 +48,8 @@ def _get_rivalcfg_info():


def _get_python_info():
from pkg_resources import get_distribution

result = _make_title("Python")
result += "Python version: %d.%d.%d\n" % sys.version_info[:3]
result += "HIDAPI version: %s\n" % get_distribution("hidapi").version
Expand Down

0 comments on commit 517e501

Please sign in to comment.