Skip to content

Commit b06316f

Browse files
committed
Add 'No options available' to the module and the example module
1 parent db665c0 commit b06316f

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

nxc/modules/example_module.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ def options(self, context, module_options):
1818
"""Required.
1919
Module options get parsed here. Additionally, put the modules usage here as well
2020
"""
21+
# Put "No options available" in the docstring if there are no options for the module
2122

2223
def on_login(self, context, connection):
2324
"""Concurrent.

nxc/modules/lockscreendoors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def __init__(self):
3333
]
3434

3535
def options(self, context, module_options):
36-
pass
36+
"""No options available"""
3737

3838
def get_description(self, binary_data):
3939
# Extract the file description from version info

0 commit comments

Comments
 (0)