mirror of
https://git.disroot.org/pranav/pybatmesh.git
synced 2024-12-11 16:59:06 +05:30
Pranav Jerry
6fff558405
- Renamed here_be_dragons() to main(). - Added daemon.py (doesn't do anything yet). - Added GPL disclaimer to all python files and removed the shebang #! from all files. - args is now defined outside any function in scripts.py - Changed arguments of some functions in scripts.py
28 lines
930 B
Python
28 lines
930 B
Python
# This file is part of naxalnet.
|
|
# Copyright (C) 2021 The naxalnet Authors
|
|
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
"""
|
|
If called as python -m naxalnet, this file makes naxalnet run like
|
|
it was called from the commandline. Try:
|
|
python -m naxalnet --help
|
|
"""
|
|
|
|
from naxalnet.scripts import main
|
|
|
|
if __name__ == "__main__":
|
|
main()
|