Skip to content

Commit

Permalink
[ftools] Fix distance matrix (Fix #8103)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Jun 18, 2013
1 parent 5e4a9df commit 6eb3188
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/fTools/tools/doPointDistance.py
Expand Up @@ -142,7 +142,7 @@ def saveFile(self):
outName = fileDialog.getSaveFileName(self, "Output Distance Matrix",".", "Delimited txt file (*.csv)")
fileCheck = QFile(outName)
filePath = QFileInfo(outName).absoluteFilePath()
if filePath.right(4) != ".csv": filePath = filePath + ".csv"
if filePath[-4:] != ".csv": filePath = filePath + ".csv"
if outName:
self.outFile.insert(filePath)

Expand Down

0 comments on commit 6eb3188

Please sign in to comment.