Skip to content

Commit 0c8c4fa

Browse files
committed
Fixes #1663
1 parent c37f485 commit 0c8c4fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/core/dump.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,11 +398,11 @@ def dbTableValues(self, tableValues):
398398
self._write(tableValues, content_type=CONTENT_TYPE.DUMP_TABLE)
399399
return
400400

401+
dumpDbPath = os.path.join(conf.dumpPath, unsafeSQLIdentificatorNaming(db))
402+
401403
if conf.dumpFormat == DUMP_FORMAT.SQLITE:
402404
replication = Replication(os.path.join(conf.dumpPath, "%s.sqlite3" % unsafeSQLIdentificatorNaming(db)))
403405
elif conf.dumpFormat in (DUMP_FORMAT.CSV, DUMP_FORMAT.HTML):
404-
dumpDbPath = os.path.join(conf.dumpPath, unsafeSQLIdentificatorNaming(db))
405-
406406
if not os.path.isdir(dumpDbPath):
407407
try:
408408
os.makedirs(dumpDbPath, 0755)

0 commit comments

Comments
 (0)