From f683690a129298e65ea45cd8166b0e25cc518658 Mon Sep 17 00:00:00 2001 From: specialsmith Date: Wed, 10 Sep 2014 23:19:23 +0300 Subject: [PATCH] correction on row 49 Replaced the str.strip with str.replace. Running the script with the old strip method was faulty when target apk-file had any of the characters a, p or k in its name. str.replace is the correct way to strip the ".apk" out of the name, I believe. Works for me at least... --- moblizer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moblizer b/moblizer index e9b008b..1887200 100644 --- a/moblizer +++ b/moblizer @@ -46,7 +46,7 @@ print "" print "Test started for "+b call(['apktool','d',b]) flist=[] -dirp=b.strip('.apk') +dirp=b.replace(".apk", "") rootpath="./"+dirp ip = re.compile('((?:\d{1,3}\.){3}\d{1,3})') email=re.compile('([\w.]+)@([\w.]+)')