mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
CuraApplication: Minor pep8 fix
This commit is contained in:
parent
24c9dc9bee
commit
ee1ba30d0e
1 changed files with 2 additions and 2 deletions
|
@ -488,7 +488,7 @@ class CuraApplication(QtApplication):
|
|||
f.write(data)
|
||||
|
||||
|
||||
@pyqtSlot(str, result = QUrl)
|
||||
@pyqtSlot(str, result=QUrl)
|
||||
def getDefaultPath(self, key):
|
||||
default_path = Preferences.getInstance().getValue("local_file/%s" % key)
|
||||
return QUrl.fromLocalFile(default_path)
|
||||
|
@ -1128,7 +1128,7 @@ class CuraApplication(QtApplication):
|
|||
|
||||
expandedCategoriesChanged = pyqtSignal()
|
||||
|
||||
@pyqtProperty("QStringList", notify = expandedCategoriesChanged)
|
||||
@pyqtProperty("QStringList", notify=expandedCategoriesChanged)
|
||||
def expandedCategories(self):
|
||||
return Preferences.getInstance().getValue("cura/categories_expanded").split(";")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue