mirror of
https://github.com/goharbor/harbor
synced 2025-04-07 18:21:57 +00:00
Merge pull request #5798 from wy65701436/fix-5788
Add the encoding to the data converter script
This commit is contained in:
commit
2f573beb91
|
@ -129,7 +129,7 @@ def write_table(pgsql_dump, table_lines):
|
|||
|
||||
def write_insert(pgsql_dump, insert_lines):
|
||||
for item in insert_lines:
|
||||
pgsql_dump.write("%s\n" % item)
|
||||
pgsql_dump.write("%s\n" % item.encode('utf-8'))
|
||||
|
||||
def write_foreign_key(pgsql_dump):
|
||||
pgsql_dump.write('\n')
|
||||
|
|
Loading…
Reference in New Issue
Block a user