Skip to content

Commit

Permalink
Updated missed regex change
Browse files Browse the repository at this point in the history
  • Loading branch information
XDGFX committed Jan 7, 2020
1 parent 845f827 commit 5d9673c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PPP.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def setupVariables():
br()

# Regex to check token
if re.compile("^[A-Za-z1-9]+$").match(plex_token) is None:
if re.compile(r"^[A-Za-z1-9-_]+$").match(plex_token) is None:
input("WARNING: Entered token '" + plex_token + "' does not appear to follow the correct format!\n" +
"If you believe the entered token is correct, press enter to continue (else ^C and start over)... ")

Expand Down

0 comments on commit 5d9673c

Please sign in to comment.