From 9a51999ac61639d240ec3f3cb51bc0aacf08b3c7 Mon Sep 17 00:00:00 2001 From: datnguye Date: Thu, 27 May 2021 17:44:03 +0700 Subject: [PATCH] Fix bug / Build 1.0.7 --- setup.py | 2 +- snowbim/engines/bimengine.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 22ef4a1..2dca484 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name='snowbim', - version='1.0.6', + version='1.0.7', author='datnguye', author_email='datnguyen.it09@gmail.com', packages=find_packages(), diff --git a/snowbim/engines/bimengine.py b/snowbim/engines/bimengine.py index ba58489..8171953 100644 --- a/snowbim/engines/bimengine.py +++ b/snowbim/engines/bimengine.py @@ -88,7 +88,7 @@ def upgrade_bim(file_path:str=None, out_path:str=None, changes:dict={}): # existing table # existing table \ columns - in_table_columns = in_tables['columns'] + in_table_columns = in_table['columns'] for column in table['columns']: change_colum_name = column['name'] in_colum = [x for x in in_table_columns if x['name'] == change_colum_name] @@ -106,7 +106,7 @@ def upgrade_bim(file_path:str=None, out_path:str=None, changes:dict={}): in_colum['sourceColumn'] = column['sourceColumn'] or in_colum['sourceColumn'] # existing table \ partitions - in_table_partitions = in_tables['partitions'] + in_table_partitions = in_table['partitions'] for partition in table['partitions']: in_partition = [ x for x in in_table_partitions