From: Serge Rehbinder Date: Wed, 21 Sep 2016 11:53:49 +0000 (+0200) Subject: 'sat jobs': fix bug when --publish is without --input_file X-Git-Tag: 5.0.0a1~107 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8a1c8058dd8d5010d3b875bcdeb5562397fc9e5a;p=tools%2Fsat.git 'sat jobs': fix bug when --publish is without --input_file --- diff --git a/commands/jobs.py b/commands/jobs.py index 81a08db..6fd6ced 100644 --- a/commands/jobs.py +++ b/commands/jobs.py @@ -1037,8 +1037,11 @@ class Gui(object): # The path of the csv files to read to fill the expected boards self.file_boards = file_boards - today = datetime.date.weekday(datetime.date.today()) - self.parse_csv_boards(today) + if file_boards != "": + today = datetime.date.weekday(datetime.date.today()) + self.parse_csv_boards(today) + else: + self.d_input_boards = {} # The path of the global xml file self.xml_dir_path = xml_dir_path