mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 08:17:58 -05:00
subreddits default language is en
This commit is contained in:
@@ -96,8 +96,8 @@ class VLang(Validator):
|
||||
lang = str(lang.split('[')[1].strip(']'))
|
||||
if lang in g.all_languages:
|
||||
return lang
|
||||
return None
|
||||
|
||||
#else
|
||||
return 'en'
|
||||
|
||||
class VRequired(Validator):
|
||||
def __init__(self, param, error, *a, **kw):
|
||||
|
||||
Reference in New Issue
Block a user