Skip to content

Commit f23f7bc

Browse files
Updated S3 table_name
1 parent 035b0f4 commit f23f7bc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

digital_land/commands.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -514,9 +514,7 @@ def dataset_update(
514514
specification_dir=None, # TBD: package should use this specification object
515515
)
516516
# Copy files from S3 and load into tables
517-
table_name = os.path.basename(
518-
os.path.dirname(input_paths[0])
519-
) # Find way to set this in a less hacky way
517+
table_name = dataset
520518
package.load_from_s3(
521519
bucket_name=bucket_name, object_key=object_key, table_name=table_name
522520
)

0 commit comments

Comments
 (0)