diff --git a/stuff/nodataperm.py b/stuff/nodataperm.py index 4f140db..8c99b97 100644 --- a/stuff/nodataperm.py +++ b/stuff/nodataperm.py @@ -40,7 +40,7 @@ class Nodataperm(General): self.act_md5 = self.dl_links[android_version][arch][1] def copy(self): - name = re.findall("([a-zA-Z0-9]+)\.zip", self.dl_link)[0] + name = re.findall("([a-zA-Z0-9]+)\\.zip", self.dl_link)[0] extract_path = os.path.join( self.extract_to, f"hack_full_data_permission-{name}") if not container.use_overlayfs(): diff --git a/stuff/widevine.py b/stuff/widevine.py index 316a4a5..b400f57 100644 --- a/stuff/widevine.py +++ b/stuff/widevine.py @@ -40,7 +40,7 @@ class Widevine(General): self.act_md5 = self.dl_links[self.arch[0]][android_version][1] def copy(self): - name = re.findall("([a-zA-Z0-9]+)\.zip", self.dl_link)[0] + name = re.findall("([a-zA-Z0-9]+)\\.zip", self.dl_link)[0] Logger.info("Copying widevine library files ...") shutil.copytree(os.path.join(self.extract_to, "vendor_google_proprietary_widevine-prebuilt-"+name, "prebuilts"), os.path.join(self.copy_dir, self.partition), dirs_exist_ok=True)