doDefineProj.diff
python/plugins/fTools/tools/doDefineProj.py (working copy) | ||
---|---|---|
69 | 69 |
provider = vLayer.dataProvider() |
70 | 70 |
self.progressBar.setValue(35) |
71 | 71 |
inPath = provider.dataSourceUri() |
72 |
inPath = inPath.remove( QRegExp( "\|.*" ) ) |
|
72 | 73 |
self.progressBar.setValue(40) |
73 | 74 |
if inPath.endsWith(".shp"): |
74 | 75 |
inPath = inPath.left(inPath.length() - 4) |