Merge pull request #83 from Discours/feature/bio_fix_4

another bio/about fix
This commit is contained in:
Ilya Y 2023-10-05 16:12:20 +03:00 committed by GitHub
commit d5bf841eac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,9 +40,9 @@ def migrate(entry):
bio_text = BeautifulSoup(bio, features="lxml").text
if len(bio_text) > 120:
user_dict["bio"] = bio_text
else:
user_dict["about"] = bio_text
else:
user_dict["bio"] = bio_text
# userpic
try: