Skip to content

Commit

Permalink
fixed #5739
Browse files Browse the repository at this point in the history
git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@224 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
  • Loading branch information
volayaf committed Jun 5, 2012
1 parent d27261a commit 5d95354
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/sextante/parameters/ParameterFixedTable.py
Expand Up @@ -17,10 +17,13 @@ def setValue(self, obj):
self.value = ParameterFixedTable.tableToString(obj)
return True

def getValueAsCommandLineParameter(self):
return "\"" + str(self.value) + "\""

@staticmethod
def tableToString(table):
tablestring = ""
for i in range(len[table]):
for i in range(len(table)):
for j in range(len(table[0])):
tablestring = tablestring + table[i][j] + ","
tablestring = tablestring[:-1]
Expand Down
1 change: 1 addition & 0 deletions src/sextante/parameters/ParameterString.py
Expand Up @@ -13,6 +13,7 @@ def setValue(self, obj):
return True
self.value = str(obj)
return True

def getValueAsCommandLineParameter(self):
return "\"" + str(self.value) + "\""

Expand Down

0 comments on commit 5d95354

Please sign in to comment.