Commit 1 of 2, code refactor and cleanup.
This commit is contained in:
@ -5,7 +5,6 @@
|
||||
# By Chrys, Storm Dragon, and contributers.
|
||||
|
||||
from fenrirscreenreader.core import debug
|
||||
from collections import Counter
|
||||
|
||||
def getPrevLine(currX,currY, currText):
|
||||
endOfScreen = False
|
||||
|
@ -76,7 +76,7 @@ def getShell():
|
||||
except:
|
||||
pass
|
||||
try:
|
||||
if os.acess('/etc/passwd'):
|
||||
if os.access('/etc/passwd', os.R_OK):
|
||||
with open('/etc/passwd') as f:
|
||||
users = f.readlines()
|
||||
for user in users:
|
||||
|
Reference in New Issue
Block a user