Merge pull request #2369 from vivekanand1101/patch-1

CuraApplication: Minor pep8 fix
This commit is contained in:
Jaime van Kessel 2017-09-04 09:53:16 +02:00 committed by GitHub
commit 20ffb0cd6d

View file

@ -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(";")