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 d80d8065
authored
Aug 04, 2025
by
aa.gustiana@gmail.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Add default settings retrieval in static_view method of BaseApp
1 parent
2a9d32e0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
opensipkd/base/__init__.py
opensipkd/base/__init__.py
View file @
d80d806
...
@@ -424,6 +424,8 @@ class BaseApp():
...
@@ -424,6 +424,8 @@ class BaseApp():
return
open
(
fullpath
)
return
open
(
fullpath
)
def
static_view
(
self
,
config
,
settings
=
None
):
def
static_view
(
self
,
config
,
settings
=
None
):
if
not
settings
:
settings
=
get_settings
()
self
.
temp_files
=
settings
.
get
(
"temp_files"
)
self
.
temp_files
=
settings
.
get
(
"temp_files"
)
if
not
os
.
path
.
exists
(
self
.
temp_files
):
if
not
os
.
path
.
exists
(
self
.
temp_files
):
os
.
makedirs
(
self
.
temp_files
)
os
.
makedirs
(
self
.
temp_files
)
...
...
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