diff -r 411df92e881f -r 3b34efa2857c scripts/create_windows_links.py --- a/scripts/create_windows_links.py Sun Dec 03 14:54:00 2023 +0100 +++ b/scripts/create_windows_links.py Mon Jan 01 11:10:45 2024 +0100 @@ -1,7 +1,7 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -# Copyright (c) 2018 - 2023 Detlev Offenbach <detlev@die-offenbachs.de> +# Copyright (c) 2018 - 2024 Detlev Offenbach <detlev@die-offenbachs.de> # # This is the install script for eric. @@ -28,8 +28,7 @@ """ if sys.platform.startswith(("win", "cygwin")): regPath = ( - "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer" - + "\\User Shell Folders" + "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders" ) # 1. create desktop shortcuts @@ -70,7 +69,7 @@ @param path registry path of the variable @type str @return value of requested registry variable - @rtype any + @rtype Any """ try: registryKey = winreg.OpenKey(winreg.HKEY_CURRENT_USER, path)