changeset 1178:ee3eaf902b83

minor improvement
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Sat, 26 Mar 2022 22:50:38 -0400
parents aa88acf06876
children 2039df59c47b
files trafficintelligence/storage.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/trafficintelligence/storage.py	Thu Mar 24 16:07:51 2022 -0400
+++ b/trafficintelligence/storage.py	Sat Mar 26 22:50:38 2022 -0400
@@ -326,6 +326,8 @@
 
                 except sqlite3.OperationalError as error:
                     printDBError(error)
+    else:
+        print('Impossible to load from non-existing file '+filename)
     return objects
 
 def loadObjectFeatureFrameNumbers(filename, objectNumbers = None):