Skip to content

Commit

Permalink
Update mytest.py
Browse files Browse the repository at this point in the history
  • Loading branch information
carlo0815 committed Nov 18, 2021
1 parent ce3a483 commit 5073f63
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions mytest.py
Expand Up @@ -610,13 +610,13 @@ def runScreenTest():
profile("wizards")
screensToRun = []
RestoreSettings = None
if config.misc.firstrun.value == True:
infolist = []
fobj = open("/var/lib/opkg/info/enigma2-plugin-extensions-infopanel.list")
for line in fobj:
xxxx = line.split("\t")[0]
os.system("chattr +i " + xxxx)
fobj.close()
# if config.misc.firstrun.value == True:
# infolist = []
# fobj = open("/var/lib/opkg/info/enigma2-plugin-extensions-infopanel.list")
# for line in fobj:
# xxxx = line.split("\t")[0]
# os.system("chattr +i " + xxxx)
# fobj.close()
if os.path.exists("/media/hdd/images/config/settings") and config.misc.firstrun.value:
if autorestoreLoop():
RestoreSettings = True
Expand Down

0 comments on commit 5073f63

Please sign in to comment.