parent
2f2eee20d6
commit
0ceefedceb
@ -136,7 +136,7 @@ class MediaRepository:
|
|||||||
"""
|
"""
|
||||||
media_id = []
|
media_id = []
|
||||||
with self.conn.cursor() as cur:
|
with self.conn.cursor() as cur:
|
||||||
cur.execute("select avatar_url from userapi_profiles;")
|
cur.execute("SELECT avatar_url FROM userapi_profiles WHERE avatar_url > '';")
|
||||||
for row in cur.fetchall():
|
for row in cur.fetchall():
|
||||||
url = row[0] # mxc://matrix.org/6e627f4c538563
|
url = row[0] # mxc://matrix.org/6e627f4c538563
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user