Revert "CuraApplication: Minor pep8 fix"

This reverts commit ee1ba30d0e.
This commit is contained in:
Ruben D 2017-09-10 16:55:24 +02:00
parent 234e724fe9
commit 1e3cfc56be
No known key found for this signature in database
GPG key ID: 6B42C9465E304A62

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