Skip to content

Commit

Permalink
fixes is_port_available calfixes is_port_available call
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfgangFahl committed Oct 9, 2023
1 parent c1f0a76 commit d6d489f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ceurws/volume_neo4j.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def __init__(self,host:str="localhost",bolt_port:int=7687,auth=("neo4j", "passwo
self.encrypted=encrypted
try:
uri=f"bolt://{host}:{bolt_port}"
if not Neo4j.isport_available(host,bolt_port):
if not Neo4j.is_port_available(host,bolt_port):
raise ValueError(f"port at {uri} not available")
self.driver = GraphDatabase.driver(uri, auth=auth,encrypted=encrypted)
except (ServiceUnavailable, AuthError, ConfigurationError) as e:
Expand Down

0 comments on commit d6d489f

Please sign in to comment.