diff --git a/python/plugins/mapserver_export/mapserverexport.py b/python/plugins/mapserver_export/mapserverexport.py index 13750e6c4a9..1672325b5ad 100644 --- a/python/plugins/mapserver_export/mapserverexport.py +++ b/python/plugins/mapserver_export/mapserverexport.py @@ -78,7 +78,7 @@ class MapServerExport: if result == 1: # get the settings from the dialog and export the map file print "Creating exporter using %s and %s" % (self.dlg.ui.txtQgisFilePath.text(), self.dlg.ui.txtMapFilePath.text()) - exporter = Qgis2Map(self.dlg.ui.txtQgisFilePath.text(), self.dlg.ui.txtMapFilePath.text()) + exporter = Qgis2Map(str(self.dlg.ui.txtQgisFilePath.text()), str(self.dlg.ui.txtMapFilePath.text())) print "Setting options" exporter.setOptions( self.dlg.ui.cmbMapUnits.currentText(), diff --git a/python/plugins/mapserver_export/ui_mapserverexport.py b/python/plugins/mapserver_export/ui_mapserverexport.py index 3aa269f99fd..b9175bc5d77 100644 --- a/python/plugins/mapserver_export/ui_mapserverexport.py +++ b/python/plugins/mapserver_export/ui_mapserverexport.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'qgsmapserverexportbase.ui' # -# Created: Mon Jan 7 17:08:49 2008 +# Created: Thu Jan 17 14:02:57 2008 # by: PyQt4 UI code generator 4.3.3 # # WARNING! All changes made in this file will be lost!