mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
dbmanager: fix spatialite connection error message
This commit is contained in:
parent
1233398122
commit
b9ada4c2d4
@ -37,7 +37,7 @@ class SpatiaLiteDBConnector(DBConnector):
|
||||
|
||||
self.dbname = uri.database()
|
||||
if not QFile.exists( self.dbname ):
|
||||
raise ConnectionError( self.tr('"%s" not found') % self.dbname )
|
||||
raise ConnectionError( QApplication.translate("DBManagerPlugin", '"{0}" not found').format( self.dbname ) )
|
||||
|
||||
try:
|
||||
self.connection = sqlite.connect( self._connectionInfo() )
|
||||
|
Loading…
x
Reference in New Issue
Block a user