From 729edc7bf64f7aa21be99e02624681a02b234341 Mon Sep 17 00:00:00 2001 From: Sam Hughes Date: Fri, 10 Nov 2023 07:25:38 -0800 Subject: [PATCH] Make _restore.py -i db.table option work --- rethinkdb/_restore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rethinkdb/_restore.py b/rethinkdb/_restore.py index 178f1bdc..2c29eb1c 100755 --- a/rethinkdb/_restore.py +++ b/rethinkdb/_restore.py @@ -244,7 +244,7 @@ def do_unzip(temp_dir, options): ) # filter out tables we are not looking for - table = os.path.splitext(file_name) + table = os.path.splitext(file_name)[0] if tables_to_export and not ( (db, table) in tables_to_export or (db, None) in tables_to_export ):