CURA-5164 Fix types

This commit is contained in:
Diego Prado Gesto 2018-05-16 17:26:56 +02:00
parent e38b31c0eb
commit 1bec6d7aa5

View file

@ -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):