This commit is contained in:
Benedikt Brückmann 2021-02-01 06:42:53 +01:00
parent 96854be84a
commit 0936051c7b

View file

@ -136,7 +136,7 @@ def make(apps, apks, repodir, archive):
def _should_file_be_generated(path, magic_string):
if os.path.exists(path):
with open(path) as f:
if not magic_string in f.readline(): # if the magic_string is not in the first line the file should be overwritten
if magic_string not in f.readline(): # if the magic_string is not in the first line the file should be overwritten
return False
return True