Replace deprecated distro.linux_distribution() call

This commit is contained in:
grossmj 2022-10-11 23:28:11 +08:00
parent e20d1adb0e
commit 6b3d4feab8

View File

@ -93,7 +93,7 @@ class CrashReport:
"os:release": platform.release(), "os:release": platform.release(),
"os:win_32": " ".join(platform.win32_ver()), "os:win_32": " ".join(platform.win32_ver()),
"os:mac": "{} {}".format(platform.mac_ver()[0], platform.mac_ver()[2]), "os:mac": "{} {}".format(platform.mac_ver()[0], platform.mac_ver()[2]),
"os:linux": " ".join(distro.linux_distribution()), "os:linux": distro.name(pretty=True),
} }