mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-11 23:23:27 +02:00
Better @string globbing, should fix some AutoNames
This commit is contained in:
parent
09a781977c
commit
c2c1792727
@ -884,7 +884,7 @@ def fetch_real_name(app_dir):
|
||||
name2 = None
|
||||
string_search= re.compile(r'.*"'+id+'".*>([^<]+?)<.*').search
|
||||
for xmlfile in glob.glob(os.path.join(
|
||||
app_dir, 'res', 'values', 'strings*.xml')):
|
||||
app_dir, 'res', 'values', '*string*.xml')):
|
||||
for line in file(xmlfile):
|
||||
if name2 is not None:
|
||||
break
|
||||
|
Loading…
Reference in New Issue
Block a user