|
@ -158,7 +158,7 @@ def CssPlaceholder(current_distribusi): |
|
|
distribusi = Distribusis.query.filter_by( |
|
|
distribusi = Distribusis.query.filter_by( |
|
|
distribusiname=current_distribusi |
|
|
distribusiname=current_distribusi |
|
|
).first() |
|
|
).first() |
|
|
if distribusi is not None: |
|
|
if distribusi is not None and distribusi.publictheme is not None: |
|
|
cssplaceholder = GetPublicCssFile(distribusi) |
|
|
cssplaceholder = GetPublicCssFile(distribusi) |
|
|
else: |
|
|
else: |
|
|
with open("themes/editor/placeholder.css") as f: |
|
|
with open("themes/editor/placeholder.css") as f: |
|
|