mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-03 04:35:47 +01:00
Update testinout
This commit is contained in:
@@ -63,15 +63,11 @@ def getTestOut():
|
|||||||
|
|
||||||
|
|
||||||
def getAccessN():
|
def getAccessN():
|
||||||
neopro = 'UNKNOWN'
|
neopro = ''
|
||||||
if os.path.exists('/usr/lib/periodon/.kodn'):
|
if os.path.exists('/usr/lib/periodon/.kodn'):
|
||||||
with open('/usr/lib/periodon/.kodn', 'r') as f:
|
with open('/usr/lib/periodon/.kodn', 'r') as f:
|
||||||
lines3 = f.read()
|
neopro = f.readline().strip()
|
||||||
f.close()
|
f.close()
|
||||||
if lines3.find('1234') != -1:
|
|
||||||
neopro = '1234'
|
|
||||||
elif not lines3.find('1234') != -1:
|
|
||||||
neopro = '1235'
|
|
||||||
return neopro
|
return neopro
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user