Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
aa.gusti
/
tangsel-base
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f4cde9a5
authored
May 27, 2025
by
aa.gustiana@gmail.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
oracle
1 parent
76062e84
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
tangsel/pbb/monitoring/__init__.py
tangsel/pbb/monitoring/__init__.py
View file @
f4cde9a
import
logging
import
cx_Oracle
from
tangsel.base
import
titles
from
tangsel.tools
import
get_settings
from
tangsel.tools.pbb
import
pbb_pemda
,
FixDati2
...
...
@@ -121,6 +120,7 @@ def includeme(config):
cache_max_age
=
3600
)
try
:
if
"lib_dir"
in
settings
and
settings
[
"lib_dir"
]:
import
cx_Oracle
lib_dir
=
rf
"{settings['lib_dir']}"
cx_Oracle
.
init_oracle_client
(
lib_dir
=
lib_dir
)
except
Exception
as
e
:
...
...
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