another bio/about fix
This commit is contained in:
parent
27fc796252
commit
2ae5a7b0bd
|
@ -40,9 +40,9 @@ def migrate(entry):
|
||||||
bio_text = BeautifulSoup(bio, features="lxml").text
|
bio_text = BeautifulSoup(bio, features="lxml").text
|
||||||
|
|
||||||
if len(bio_text) > 120:
|
if len(bio_text) > 120:
|
||||||
user_dict["bio"] = bio_text
|
|
||||||
else:
|
|
||||||
user_dict["about"] = bio_text
|
user_dict["about"] = bio_text
|
||||||
|
else:
|
||||||
|
user_dict["bio"] = bio_text
|
||||||
|
|
||||||
# userpic
|
# userpic
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user