1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 11:18:11 +00:00

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:win_32": " ".join(platform.win32_ver()),
"os:mac": "{} {}".format(platform.mac_ver()[0], platform.mac_ver()[2]),
"os:linux": " ".join(distro.linux_distribution()),
"os:linux": distro.name(pretty=True),
}