mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Better @string globbing, should fix some AutoNames
This commit is contained in:
parent
09a781977c
commit
c2c1792727
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue