mirror of
https://github.com/Fluffy-Bean/GameExpo23.git
synced 2025-05-14 14:22:16 +00:00
Merge pull request #16 from Fluffy-Bean/deepsource-transform-1d2958ae
format code with black
This commit is contained in:
commit
28d5f140c0
1 changed files with 3 additions and 3 deletions
|
@ -50,9 +50,9 @@ def post_settings():
|
||||||
twitch = request.form.get("twitch", "").strip()
|
twitch = request.form.get("twitch", "").strip()
|
||||||
youtube = request.form.get("youtube", "").strip()
|
youtube = request.form.get("youtube", "").strip()
|
||||||
|
|
||||||
twitter_regex = re.compile('^(?!.*\.\.)(?!.*\.$)[\w.]{1,15}$')
|
twitter_regex = re.compile(r"^(?!.*\.\.)(?!.*\.$)[\w.]{1,15}$")
|
||||||
twitch_regex = re.compile('^(?=.{4,25}$)(?!_)(?!.*[_.]{2})[a-zA-Z0-9._]+$')
|
twitch_regex = re.compile("^(?=.{4,25}$)(?!_)(?!.*[_.]{2})[a-zA-Z0-9._]+$")
|
||||||
youtube_regex = re.compile('^(?!.*[._]{2})[a-zA-Z0-9._-]{1,50}$')
|
youtube_regex = re.compile("^(?!.*[._]{2})[a-zA-Z0-9._-]{1,50}$")
|
||||||
|
|
||||||
error = []
|
error = []
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue