mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-11 08:47:50 -06:00
Fix mypy issues with the DigitalLibrary plugin
This commit is contained in:
parent
83767764db
commit
bc408a5a67
7 changed files with 43 additions and 30 deletions
|
@ -31,9 +31,14 @@ class DigitalFactoryFileProvider(FileProvider):
|
|||
Function called every time the 'From Digital Factory' option of the 'Open File(s)' submenu is triggered
|
||||
"""
|
||||
self.loadWindow()
|
||||
print("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAa")
|
||||
|
||||
if self._account.isLoggedIn and self._controller.userAccountHasLibraryAccess():
|
||||
self._controller.initialize()
|
||||
|
||||
if not self._dialog:
|
||||
Logger.log("e", "Unable to create the Digital Library Open dialog.")
|
||||
return
|
||||
self._dialog.show()
|
||||
|
||||
def loadWindow(self) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue