mirror of
https://git.disroot.org/pranav/pybatmesh.git
synced 2024-11-23 05:22:59 +05:30
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:
parent
a061852a59
commit
32e9559e6e
2
Makefile
2
Makefile
@ -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:
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user