diff --git a/pyren/mod_ddt_screen.py b/pyren/mod_ddt_screen.py index 9eaa941..b503222 100755 --- a/pyren/mod_ddt_screen.py +++ b/pyren/mod_ddt_screen.py @@ -491,11 +491,11 @@ class DDTScreen (tk.Frame): if self.decu.ecufname.split ('/')[-1][:-4] in f: try: uda = f.split ('_')[0] + fda = datetime.datetime.fromtimestamp (int (uda)).strftime ('%Y/%m/%d %H:%M:%S') + flist.append (fda + '\t#\t' + f) except: - tkMessageBox.showinfo ("Wrong dump file", "No appropriate dump file in ./dumps folder") + tkMessageBox.showinfo ("Wrong dump file", "Wrong file name " + f + " in ./dumps folder") return "" - fda = datetime.datetime.fromtimestamp (int (uda)).strftime ('%Y/%m/%d %H:%M:%S') - flist.append (fda + '\t#\t' + f) if len (flist) == 0: tkMessageBox.showinfo ("Wrong dump file", "No appropriate dump file in ./dumps folder") return ""