|
|
@ -92,9 +92,10 @@ def RemoveMacFolders(path): |
|
|
|
def GetCssFile(distribusi): |
|
|
|
cssfile = "" |
|
|
|
cssfolder = os.path.join("themes/userthemes", distribusi.distribusiname) |
|
|
|
for filename in os.listdir(cssfolder): |
|
|
|
if filename.endswith(".css"): |
|
|
|
cssfile = os.path.join(cssfolder, filename) |
|
|
|
if os.path.exists(cssfolder): |
|
|
|
for filename in os.listdir(cssfolder): |
|
|
|
if filename.endswith(".css"): |
|
|
|
cssfile = os.path.join(cssfolder, filename) |
|
|
|
return cssfile |
|
|
|
|
|
|
|
|
|
|
|