Skip to content

Commit

Permalink
Merge pull request #31 from Snuffy2/Fix-jpp_host-parsing
Browse files Browse the repository at this point in the history
Fix jpp_host parsing
  • Loading branch information
Snuffy2 committed Nov 15, 2023
2 parents de12f4c + e43e05b commit 33034e2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions juicepassproxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,9 @@ def main():
udpc_updater = None

if args.update_udpc:
address = args.juicepass_proxy_host or args.src.split(":")
udpc_updater = JuiceboxUDPCUpdater(args.juicebox_host, address[0], address[1])
address = args.src.split(":")
jpp_host = args.juicepass_proxy_host or address[0]
udpc_updater = JuiceboxUDPCUpdater(args.juicebox_host, jpp_host, address[1])
udpc_updater_thread = Thread(target=udpc_updater.start)
udpc_updater_thread.start()

Expand Down

0 comments on commit 33034e2

Please sign in to comment.