mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
style: Run pre-commit
This commit is contained in:
parent
b47882b114
commit
9c6c13b78a
235 changed files with 7180 additions and 5628 deletions
|
@ -48,9 +48,8 @@ def main():
|
|||
files[i] = path
|
||||
|
||||
for _, i in enumerate(files.keys()):
|
||||
new_path = re.sub(r'^/aurweb', aurwebdir, files[i])
|
||||
cursor.execute("UPDATE file SET path = ? WHERE id = ?", (
|
||||
new_path, i))
|
||||
new_path = re.sub(r"^/aurweb", aurwebdir, files[i])
|
||||
cursor.execute("UPDATE file SET path = ? WHERE id = ?", (new_path, i))
|
||||
|
||||
db.commit()
|
||||
db.close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue