no need to import the same thing twice
This commit is contained in:
parent
51873b120d
commit
2342eabb17
@ -1419,7 +1419,6 @@ class pluginclass( object ):
|
|||||||
|
|
||||||
def buildFavorites( self ):
|
def buildFavorites( self ):
|
||||||
try:
|
try:
|
||||||
from user import home
|
|
||||||
if (not os.path.exists(home + "/.linuxmint/mintMenu/applications.list")):
|
if (not os.path.exists(home + "/.linuxmint/mintMenu/applications.list")):
|
||||||
os.system("mkdir -p " + home + "/.linuxmint/mintMenu/applications")
|
os.system("mkdir -p " + home + "/.linuxmint/mintMenu/applications")
|
||||||
os.system("cp /usr/lib/linuxmint/mintMenu/applications.list " + home + "/.linuxmint/mintMenu/applications.list")
|
os.system("cp /usr/lib/linuxmint/mintMenu/applications.list " + home + "/.linuxmint/mintMenu/applications.list")
|
||||||
|
Loading…
Reference in New Issue
Block a user