Skip to content

Commit

Permalink
🐛 Raw string for re
Browse files Browse the repository at this point in the history
  • Loading branch information
matlink committed Oct 14, 2018
1 parent 361752a commit a46cbc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
UPDATEAPK=os.path.join("tests", "org.mozilla.focus.20112247.apk")
TOKENFILE=os.path.expanduser('~/.cache/gplaycli/token')

RE_APPEND_VERSION=re.compile("^"+TESTAPK.replace('.', '\.')+"-v.[A-z0-9.-]+\.apk$")
RE_APPEND_VERSION=re.compile("^"+TESTAPK.replace('.', r'\.')+r"-v.[A-z0-9.-]+\.apk$")

def call(args):
proc = sp.run(args.split(), stdout=sp.PIPE, stderr=sp.PIPE)
Expand Down

0 comments on commit a46cbc8

Please sign in to comment.