Commit 300eeb2940809869e825d220344391932edafb56

Authored by Alain Klotz
1 parent 9b90cb8a
Exists in master

bugfix in setup

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/wrapper_flipro/setup.py
@@ -28,7 +28,7 @@ elif psystem == "Linux": @@ -28,7 +28,7 @@ elif psystem == "Linux":
28 # release = '5.10.16.3-microsoft-standard-WSL2' 28 # release = '5.10.16.3-microsoft-standard-WSL2'
29 distro_name = release.split("-")[3] 29 distro_name = release.split("-")[3]
30 distro_version = release.split("-")[0] 30 distro_version = release.split("-")[0]
31 - else 31 + else:
32 distribution = platform.freedesktop_os_release() 32 distribution = platform.freedesktop_os_release()
33 distro_name = distribution['NAME'] 33 distro_name = distribution['NAME']
34 distro_version = distribution['VERSION_ID'] 34 distro_version = distribution['VERSION_ID']