fixed bug in main()

For some days I've been testing this program without realising that
gateway_mode was set to off every time. Remove dependencies from install
in Makefile, which we don't need anyway, since it builds twice when
installing from the AUR PKGBUILD.
This commit is contained in:
Pranav Jerry 2021-09-29 08:37:59 +05:30
parent a061852a59
commit 32e9559e6e
Signed by: pranav
GPG Key ID: F1DCDC4FED0A0C5B
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ build: build/lib/naxalnet/__init__.py
build/lib/naxalnet/__init__.py: naxalnet/__init__.py
$(PYTHON) setup.py build
install: build
install:
$(PYTHON) setup.py install --root="$(DESTDIR)" --optimize=1 --skip-build
uninstall:

View File

@ -260,7 +260,7 @@ def main():
try:
setup_devices()
setup_mesh()
setup_mesh(gateway_mode=gateway_mode)
# Start the daemon so that setup_devices() is called every
# time a device is connected or removed.