Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
aa.gusti
/
opensipkd-base
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5b00f29d
authored
Jan 25, 2026
by
aa.gustiana@gmail.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: Correct mobile_static_path creation by removing unnecessary assignment
1 parent
ebb31eb2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
opensipkd/base/__init__.py
opensipkd/base/__init__.py
View file @
5b00f29
...
@@ -280,7 +280,7 @@ def get_config(settings):
...
@@ -280,7 +280,7 @@ def get_config(settings):
mobile_static_path
=
os
.
path
.
join
(
mobi_path
,
'static'
,
'mobile'
)
mobile_static_path
=
os
.
path
.
join
(
mobi_path
,
'static'
,
'mobile'
)
if
not
os
.
path
.
exists
(
mobile_static_path
):
if
not
os
.
path
.
exists
(
mobile_static_path
):
mobile_static_path
=
os
.
makedirs
(
mobile_static_path
)
os
.
makedirs
(
mobile_static_path
)
config
.
add_static_view
(
'mobi'
,
mobile_static_path
+
config
.
add_static_view
(
'mobi'
,
mobile_static_path
+
os
.
sep
,
cache_max_age
=
3600
)
os
.
sep
,
cache_max_age
=
3600
)
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment