You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I've a got a "locale" problem between Mastodon and usercount bot. When i put in .env.production file of Mastodon :
DEFAULT_LOCALE=fr
then usercount stop working and give an error :
Traceback (most recent call last):
File "usercount.py", line 98, in
current_id = int( get_between(pagecontent, "Home to", "users").replace(",", ""))
File "usercount.py", line 92, in get_between
return s[(s.index(substring1)+len(substring1)):s.index(substring2)]
ValueError: substring not found
The text was updated successfully, but these errors were encountered:
Hi,
I've a got a "locale" problem between Mastodon and usercount bot. When i put in .env.production file of Mastodon :
DEFAULT_LOCALE=fr
then usercount stop working and give an error :
Traceback (most recent call last):
File "usercount.py", line 98, in
current_id = int( get_between(pagecontent, "Home to", "users").replace(",", ""))
File "usercount.py", line 92, in get_between
return s[(s.index(substring1)+len(substring1)):s.index(substring2)]
ValueError: substring not found
The text was updated successfully, but these errors were encountered: