Fix indentation

This commit is contained in:
Harrissou Sant-anna 2017-11-20 12:07:12 +01:00 committed by GitHub
parent dd378a58c2
commit 9481067f4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -144,7 +144,7 @@ def load(fileName, name=None, crs=None, style=None, isRaster=False):
if prjSetting:
settings.setValue('/Projections/defaultBehavior', prjSetting)
raise RuntimeError(QCoreApplication.translate('dataobject',
'Could not load layer: {0}\nCheck the processing framework log to look for errors.').format(fileName))
'Could not load layer: {0}\nCheck the processing framework log to look for errors.').format(fileName))
else:
qgslayer = QgsVectorLayer(fileName, name, 'ogr')
if qgslayer.isValid():