Update custom_apns script for Python 3
Change-Id: Ia693daadac323e7c245867dbc7756f31637a4c15
This commit is contained in:
parent
3e2414bfdb
commit
de4302a67a
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
#
|
||||
# Copyright (C) 2018 The LineageOS Project
|
||||
#
|
||||
|
@ -17,10 +17,10 @@
|
|||
|
||||
import re
|
||||
import sys
|
||||
from importlib import reload
|
||||
|
||||
def main(argv):
|
||||
reload(sys)
|
||||
sys.setdefaultencoding('utf8')
|
||||
original_file = 'vendor/lineage/prebuilt/common/etc/apns-conf.xml'
|
||||
|
||||
if len(argv) == 3:
|
||||
|
|
Loading…
Reference in a new issue