Spaces:
Runtime error
Runtime error
Update chatchain.py
Browse files- chatchain.py +1 -1
chatchain.py
CHANGED
@@ -36,7 +36,7 @@ def update_rec_list(main_chain):
|
|
36 |
for i,ea in enumerate(f_ist):
|
37 |
if "chat/" in ea:
|
38 |
try:
|
39 |
-
if not "
|
40 |
rec_list.append(ea.split("chat/",1)[1].split("/",1)[0])
|
41 |
except Exception:
|
42 |
pass
|
|
|
36 |
for i,ea in enumerate(f_ist):
|
37 |
if "chat/" in ea:
|
38 |
try:
|
39 |
+
if not ".png" in ea:
|
40 |
rec_list.append(ea.split("chat/",1)[1].split("/",1)[0])
|
41 |
except Exception:
|
42 |
pass
|