Skip to content

Commit

Permalink
Reformat file with black
Browse files Browse the repository at this point in the history
  • Loading branch information
deajan committed Jan 23, 2024
1 parent 66a9e76 commit c90a7ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions windows_tools/product_key/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,11 @@ def get_windows_product_channel() -> Optional[str]:
"""
Tries to get Windows license type (OEM/Retail/Volume)
So basically there's no good way to get that info, but the description field in SoftwareLicenseingProduct
So basically there's no good way to get that info, but the description field in SoftwareLicenseingProduct
should have OEM/Volume/Retail in string
Tested on Win10/11. Please test and report on other Windows versions
Quick and dirty python implementation of
Quick and dirty python implementation of
https://stackoverflow.com/questions/56754546/powershell-windows-license-type#comment100070333_56754958
"""
license_description = windows_tools.wmi_queries.query_wmi(
Expand Down

0 comments on commit c90a7ce

Please sign in to comment.