Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
aa.gusti
/
opensipkd-tools
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 12282db5
authored
Jul 01, 2024
by
Tatang S
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
nambah def tmp_reports
1 parent
1297bb3d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
opensipkd/tools/report.py
opensipkd/tools/report.py
View file @
12282db
...
...
@@ -326,10 +326,11 @@ def tmp_reports(settings = None, tmp_path = None, module_dirname = None):
settings
=
get_settings
()
if
not
settings
:
return
default_tmp
if
tmp_path
is
None
:
tmp_path
=
'tmp_report'
in
settings
and
settings
[
'tmp_report'
]
or
default_tmp
if
tmp_path
is
None
:
tmp_path
=
default_tmp
else
:
if
tmp_path
is
None
:
tmp_path
=
'tmp_report'
in
settings
and
settings
[
'tmp_report'
]
or
default_tmp
if
module_dirname
:
tmp_path
=
os
.
path
.
join
(
tmp_path
,
module_dirname
)
...
...
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