Skip to content

Commit 0342080

Browse files
committed
Make _restore.py -i db.table option work
1 parent 0f7d923 commit 0342080

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rethinkdb/_restore.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def do_unzip(temp_dir, options):
244244
)
245245

246246
# filter out tables we are not looking for
247-
table = os.path.splitext(file_name)
247+
table = os.path.splitext(file_name)[0]
248248
if tables_to_export and not (
249249
(db, table) in tables_to_export or (db, None) in tables_to_export
250250
):

0 commit comments

Comments
 (0)