diff --git a/panoramix/bin/panoramix b/panoramix/bin/panoramix index cc96fc4d0f1ba..47b41d5627429 100755 --- a/panoramix/bin/panoramix +++ b/panoramix/bin/panoramix @@ -111,7 +111,7 @@ def load_examples(sample): session.commit() print("Creating table reference") - TBL = models.Table + TBL = models.SqlaTable obj = session.query(TBL).filter_by(table_name='birth_names').first() if not obj: obj = TBL(table_name = 'birth_names')