From 0a16e41a14ee562a5a3e2fc0e0eace0b4d6b6c27 Mon Sep 17 00:00:00 2001 From: LtWorf Date: Wed, 3 Dec 2008 10:21:41 +0000 Subject: [PATCH] No relation name is asked if the opening was aborted git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@70 014f5005-505e-4b48-8d0a-63407b615a7c --- maingui.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/maingui.py b/maingui.py index 31f7932..6e37c56 100644 --- a/maingui.py +++ b/maingui.py @@ -125,7 +125,8 @@ class Ui_Form(object): #Default relation's name f=str(filename.toUtf8()).split(os.sep) #Split the full path defname=f[len(f)-1].lower() #Takes only the lowercase filename - + if len(defname)==0: + return use_csv=True if defname.endswith(".tlb"):