From b726229a4063bb86b17f9b838950fbd169da76d6 Mon Sep 17 00:00:00 2001 From: Jean-Philippe ARGAUD Date: Mon, 7 Jan 2019 14:02:33 +0100 Subject: [PATCH] Re-JPA : annulation ouverture fichier --- InterfaceQT4/viewManager.py | 1 + 1 file changed, 1 insertion(+) diff --git a/InterfaceQT4/viewManager.py b/InterfaceQT4/viewManager.py index 0050a294..22de6587 100644 --- a/InterfaceQT4/viewManager.py +++ b/InterfaceQT4/viewManager.py @@ -76,6 +76,7 @@ class MyViewManager(object): self.appliEficas.maConfiguration.savedir, extensions) fichier=fichier[0] + if len(fichier) == 0: return None fichier = os.path.abspath(six.text_type(fichier)) ulfile = os.path.abspath(six.text_type(fichier)) self.appliEficas.maConfiguration.savedir=os.path.split(ulfile)[0] -- 2.39.2