Skip to content

Commit 80e4494

Browse files
author
cfarmer
committedFeb 25, 2010
clean output proj file name, fixes: #2466
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12974 c8812cc2-4d05-0410-92ff-de0c093fc19c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎python/plugins/fTools/tools/doDefineProj.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
from PyQt4.QtCore import *
23
from PyQt4.QtGui import *
34

@@ -69,6 +70,7 @@ def accept(self):
6970
provider = vLayer.dataProvider()
7071
self.progressBar.setValue(35)
7172
inPath = provider.dataSourceUri()
73+
inPath = inPath.remove( QRegExp( "\|.*" ) )
7274
self.progressBar.setValue(40)
7375
if inPath.endsWith(".shp"):
7476
inPath = inPath.left(inPath.length() - 4)

0 commit comments

Comments
 (0)
Please sign in to comment.