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