mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 18:55:59 +08:00
CURA-5164 Fix types
This commit is contained in:
parent
e38b31c0eb
commit
1bec6d7aa5
@ -26,8 +26,8 @@ class CuraPackageManager(QObject):
|
|||||||
self._plugin_registry = self._application.getPluginRegistry()
|
self._plugin_registry = self._application.getPluginRegistry()
|
||||||
|
|
||||||
#JSON files that keep track of all installed packages.
|
#JSON files that keep track of all installed packages.
|
||||||
self._user_package_management_file_path = None
|
self._user_package_management_file_path = None #type: str
|
||||||
self._bundled_package_management_file_path = None
|
self._bundled_package_management_file_path = None #type: str
|
||||||
for search_path in Resources.getSearchPaths():
|
for search_path in Resources.getSearchPaths():
|
||||||
candidate_bundled_path = os.path.join(search_path, "bundled_packages.json")
|
candidate_bundled_path = os.path.join(search_path, "bundled_packages.json")
|
||||||
if os.path.exists(candidate_bundled_path):
|
if os.path.exists(candidate_bundled_path):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user