using single separator... on windows seems to be using the unix one.. boh

git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@200 014f5005-505e-4b48-8d0a-63407b615a7c
master
LtWorf 2009-06-30 09:30:11 +07:00
parent a584c158dd
commit dcc5d977b4
1 changed files with 1 additions and 1 deletions

@ -156,7 +156,7 @@ class Ui_Form(object):
filename = QtGui.QFileDialog.getOpenFileName(None,QtGui.QApplication.translate("Form", "Load Relation"),"",QtGui.QApplication.translate("Form", "Relations (*.csv);;Old Relations (*.tlb);;Text Files (*.txt);;All Files (*)"))
#Default relation's name
f=str(filename.toUtf8()).split(os.sep) #Split the full path
f=str(filename.toUtf8()).split('/') #Split the full path
defname=f[len(f)-1].lower() #Takes only the lowercase filename
if len(defname)==0:
return