We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1b3f90d + c99fe79 commit 35e5875Copy full SHA for 35e5875
.gitignore
@@ -1,3 +1,6 @@
1
+tests.py
2
+test.sh
3
+
4
*.secret
5
*.db
6
*.sh
mastodon-rss-bot.py
@@ -59,8 +59,8 @@ def determine_content_language(text):
59
' miliarde ' in text):
60
language = 'ro'
61
62
- if (does_substring_exist('Ambasadorul', text, tags) or
63
- does_substring_exist('interzis', text, tags)):
+ if ('mbasadorul' in text or
+ 'interzis' in text):
64
65
66
return language
tests.py
0 commit comments