Daniel Brötzmann pushed to branch master at gajim / gajim


Commits:
8e8a78fb by wurstsalat at 2023-05-26T21:27:27+02:00
new: Return platform version details for Windows and MacOS when getting OS 
version

- - - - -


1 changed file:

- gajim/common/helpers.py


Changes:

=====================================
gajim/common/helpers.py
=====================================
@@ -1533,7 +1533,7 @@ def get_os_name() -> str:
 
 def get_os_version() -> str:
     if sys.platform in ('win32', 'darwin'):
-        return platform.release()
+        return platform.version()
     if os.name == 'posix':
         try:
             import distro



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/8e8a78fb7ec013d4a2320b069f25950c294d1e14

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/8e8a78fb7ec013d4a2320b069f25950c294d1e14
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to