Dope'ily missed .count() on the query where we're counting
Thanks for catching, Elrond. This commit sponsored by Graham King. Thank you!
This commit is contained in:
parent
e66431f4c3
commit
0c6a34bf5c
@ -219,7 +219,7 @@ def mediaentry_new_slug_era(db):
|
||||
return db.execute(
|
||||
media_table.select(
|
||||
media_table.c.uploader==uploader,
|
||||
media_table.c.slug==slug)).first().tbl_row_count
|
||||
media_table.c.slug==slug).count()).first().tbl_row_count
|
||||
|
||||
def append_garbage_till_unique(row, new_slug):
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user