mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 07:52:35 +03:00
Allow extra fields in real name string
This commit is contained in:
parent
182fd08cf4
commit
3f7b6b8734
1 changed files with 1 additions and 1 deletions
|
@ -876,7 +876,7 @@ def fetch_real_name(app_dir):
|
|||
if name.startswith('@string/'):
|
||||
id = name[8:]
|
||||
name2 = None
|
||||
string_search= re.compile(r'.*"'+id+'">([^<]+?)<.*').search
|
||||
string_search= re.compile(r'.*"'+id+'".*>([^<]+?)<.*').search
|
||||
for xmlfile in glob.glob(os.path.join(
|
||||
app_dir, 'res', 'values', 'strings*.xml')):
|
||||
for line in file(xmlfile):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue