mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
s/%r/%s/
This commit is contained in:
parent
f701197227
commit
5681264faa
@ -659,7 +659,7 @@ def _setup_new_database(cur):
|
|||||||
sql_script = "BEGIN TRANSACTION;\n"
|
sql_script = "BEGIN TRANSACTION;\n"
|
||||||
for filename in fnmatch.filter(directory_entries, "*.sql"):
|
for filename in fnmatch.filter(directory_entries, "*.sql"):
|
||||||
sql_loc = os.path.join(sql_dir, filename)
|
sql_loc = os.path.join(sql_dir, filename)
|
||||||
logger.debug("Applying schema %r", sql_loc)
|
logger.debug("Applying schema %s", sql_loc)
|
||||||
sql_script += read_schema(sql_loc)
|
sql_script += read_schema(sql_loc)
|
||||||
sql_script += "\n"
|
sql_script += "\n"
|
||||||
sql_script += "COMMIT TRANSACTION;"
|
sql_script += "COMMIT TRANSACTION;"
|
||||||
|
Loading…
Reference in New Issue
Block a user