Minor update for an Issue #8

This commit is contained in:
Miroslav Stampar
2013-01-16 14:16:22 +01:00
parent 3464a70ac2
commit ff5ec48abd
2 changed files with 17 additions and 4 deletions

View File

@@ -483,7 +483,7 @@ class Dump(object):
# mimetype = magic.from_buffer(value, mime=True)
# if mimetype.startswith("application") or mimetype.startswith("image"):
# with codecs.open("%s%s%s" % (dumpDbPath, os.sep, "%s-%d.bin" % (column, randomInt(8))), "wb", UNICODE_ENCODING) as f:
# _ = safechardecode(value)
# _ = safechardecode(value, True)
# f.write(_)
if conf.dumpFormat == DUMP_FORMAT.CSV: