mirror of https://github.com/mvt-project/mvt.git
Better regexp formatting
This commit is contained in:
parent
06cd640c5e
commit
434738a306
|
@ -25,7 +25,7 @@ class Getprop(AndroidExtraction):
|
|||
def run(self):
|
||||
self._adb_connect()
|
||||
|
||||
rxp = re.compile("\\[(.+?)\\]: \\[(.+?)\\]")
|
||||
rxp = re.compile(r"\[(.+?)\]: \[(.+?)\]")
|
||||
out = self._adb_command("getprop")
|
||||
for line in out.splitlines():
|
||||
line = line.strip()
|
||||
|
|
Loading…
Reference in New Issue