Merge pull request #3797 from normanjaeckel/FixWindows
Fixed settings creation for windows.
This commit is contained in:
commit
83295ebec1
@ -197,7 +197,7 @@ def get_win32_app_data_dir() -> str:
|
|||||||
# TODO: Write other exception
|
# TODO: Write other exception
|
||||||
raise Exception("Could not determine Windows' APPDATA path")
|
raise Exception("Could not determine Windows' APPDATA path")
|
||||||
|
|
||||||
return buf.value.decode('utf-8')
|
return buf.value # type: ignore
|
||||||
|
|
||||||
|
|
||||||
def get_win32_portable_dir() -> str:
|
def get_win32_portable_dir() -> str:
|
||||||
|
Loading…
Reference in New Issue
Block a user