Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit 63139a3

Browse files
authored
Merge pull request #173 from datafold/small_fix_oracle
Small fix for Oracle, for when a database isn't specified.
2 parents cc765fc + f254b32 commit 63139a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data_diff/databases/oracle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class Oracle(ThreadedDatabase):
2727
ROUNDS_ON_PREC_LOSS = True
2828

2929
def __init__(self, *, host, database, thread_count, **kw):
30-
self.kwargs = dict(dsn="%s/%s" % (host, database), **kw)
30+
self.kwargs = dict(dsn="%s/%s" % (host, database) if database else host, **kw)
3131

3232
self.default_schema = kw.get("user")
3333

0 commit comments

Comments
 (0)