Skip to content

Commit fd59543

Browse files
fix(typo): typo if not "host" in args:
1 parent f2fd285 commit fd59543

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/opengeodeweb_viewer/vtkw_server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ def run_server():
9292

9393
_Server.add_arguments(parser)
9494
args = parser.parse_args()
95-
96-
if "host" in args:
95+
96+
if not "host" in args:
9797
args.host = os.environ["DEFAULT_HOST"]
9898
if not "port" in args or args.port == 8080:
9999
args.port = os.environ.get("DEFAULT_PORT")

0 commit comments

Comments
 (0)