Skip to content
Snippets Groups Projects
Commit 4d64bb2f authored by KERDREUX Jerome's avatar KERDREUX Jerome
Browse files

Format

parent b5344752
Branches
No related tags found
1 merge request!1First try of type hints
......@@ -3,7 +3,7 @@ from xaal.lib import Device,Engine,tools
import sys
def main(addr):
if addr == None:
if addr is None:
addr = tools.get_random_uuid()
dev = Device("lamp.dimmer",addr)
dev.product_id = 'Dummy Dimming Lamp'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment