Browse Source

don't list directory contents of something that is empty

current_wdka_release
crunk 3 years ago
parent
commit
e7f7d7c34d
  1. 1
      verse/distribusiworkflow.py

1
verse/distribusiworkflow.py

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

Loading…
Cancel
Save