From 49e7564ebbfde1f1576fc21222f9c60d43cbae57 Mon Sep 17 00:00:00 2001 From: "pascale.noyret" Date: Mon, 15 Oct 2018 11:51:32 +0200 Subject: [PATCH] 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