Skip to content
Permalink
Browse files

fixed #5739

git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@224 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
  • Loading branch information
volayaf
volayaf committed Jun 5, 2012
1 parent d27261a commit 5d95354dcff9f74bd96a0dbc8a2e6a638ebcf97e
Showing with 5 additions and 1 deletion.
  1. +4 −1 src/sextante/parameters/ParameterFixedTable.py
  2. +1 −0 src/sextante/parameters/ParameterString.py
@@ -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]
@@ -13,6 +13,7 @@ def setValue(self, obj):
return True
self.value = str(obj)
return True

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

0 comments on commit 5d95354

Please sign in to comment.
You can’t perform that action at this time.