Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
davesteele committed Feb 9, 2024
1 parent 5d831ab commit 40c7864
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
8 changes: 5 additions & 3 deletions comitup/mdns.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,11 @@ def add_service(
string_array_to_txt_array(
[
"hostname=%s" % host,
"ipaddr=%s" % addr
if (addr and addr != "0.0.0.0")
else "ipaddr=",
(
"ipaddr=%s" % addr
if (addr and addr != "0.0.0.0")
else "ipaddr="
),
"ip6addr=%s" % addr6 if addr6 else "ip6addr=",
"comitup-home=https://davesteele.github.io/comitup/",
]
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@
# or later
#

import sys

from setuptools import setup

import sys
sys.path.append(".")
from comitup import __version__
from comitup import __version__ # noqa

setup(
name="comitup",
Expand Down

0 comments on commit 40c7864

Please sign in to comment.