Add type param to dbexport.py

This commit is contained in:
JrD
2020-07-12 23:34:10 +08:00
parent a63134245b
commit ccb105b87b
2 changed files with 42 additions and 22 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ class OneForAll(object):
:rtype: list
"""
db = Database()
data = dbexport.export(table, alive=self.alive, format=self.format)
data = dbexport.export(table, type='table', alive=self.alive, format=self.format)
db.drop_table(self.new_table)
db.rename_table(self.domain, self.new_table)
db.close()