mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-13 02:30:11 +01:00
Allow extra fields in real name string
This commit is contained in:
parent
182fd08cf4
commit
3f7b6b8734
@ -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…
Reference in New Issue
Block a user