mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-10-28 19:55:52 +08:00
Add type param to dbexport.py
This commit is contained in:
+1
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user