Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
Nuovo sito
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
16
Issues
16
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Web
Nuovo sito
Commits
240d302d
Commit
240d302d
authored
Dec 27, 2023
by
shadMod
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quick fix
parent
d9c10402
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
uitwww/main.py
uitwww/main.py
+2
-2
No files found.
uitwww/main.py
View file @
240d302d
...
@@ -117,7 +117,7 @@ def build_scss():
...
@@ -117,7 +117,7 @@ def build_scss():
# check if filename contain PATTERN
# check if filename contain PATTERN
if
fnmatch
(
name
,
PATTERN
):
if
fnmatch
(
name
,
PATTERN
):
val
=
os
.
path
.
join
(
path
,
name
).
split
(
"scss"
,
1
)[
1
]
val
=
os
.
path
.
join
(
path
,
name
).
split
(
"scss"
,
1
)[
1
]
css_path
.
append
(
val
.
replace
(
".scss"
,
""
))
css_path
.
append
(
val
.
replace
(
".scss"
,
""
)
[
1
:]
)
print
(
"Compile the scss file"
)
print
(
"Compile the scss file"
)
for
val
in
css_path
:
for
val
in
css_path
:
# init path css
# init path css
...
@@ -127,6 +127,6 @@ def build_scss():
...
@@ -127,6 +127,6 @@ def build_scss():
# open file, compile and write css
# open file, compile and write css
with
open
(
path
,
"w"
)
as
fn
:
with
open
(
path
,
"w"
)
as
fn
:
fn
.
write
(
minify
(
compile_file
(
fn
.
write
(
minify
(
compile_file
(
Path
(
BASE_DIR
,
f"assets/scss
{
val
}
.scss"
)
Path
(
BASE_DIR
,
f"assets/scss
/
{
val
}
.scss"
)
)))
)))
print
(
"Write and populate css"
)
print
(
"Write and populate css"
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment