mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
typo
This commit is contained in:
parent
614525a97a
commit
d9422411ea
1 changed files with 1 additions and 1 deletions
|
@ -508,7 +508,7 @@ def refresh_community_profile_task(community_id):
|
|||
if 'language' in activity_json and isinstance(activity_json['language'], list):
|
||||
for ap_language in activity_json['language']:
|
||||
new_language = find_language_or_create(ap_language['identifier'], ap_language['name'])
|
||||
if new_language not in community.langauges:
|
||||
if new_language not in community.languages:
|
||||
community.languages.append(new_language)
|
||||
db.session.commit()
|
||||
if community.icon_id and icon_changed:
|
||||
|
|
Loading…
Add table
Reference in a new issue