Final fix for custom app generation #451

This commit is contained in:
Isaac Hutt 2017-02-06 11:30:01 -08:00
parent d26676ff02
commit 728f7eb843

View File

@ -362,7 +362,7 @@ def step_update_xml_nodes(jsdata, **options):
'xml', from_encoding='utf-8')
item = soup.find('org.kiwix.kiwixmobile.views.AnimatedProgressBar')
item.name = '{}.views.AnimatedProgressBar'.format(jsdata.get('package'))
flushxml(soup, 'RelativeLayout', main_xml, head=False)
flushxml(soup, 'android.support.design.widget.CoordinatorLayout', main_xml, head=False)
except:
logger.error('BeautifulSoup could not open file in res/xml')