mirror of
https://github.com/meshtastic/python.git
synced 2026-01-08 15:57:57 -05:00
fix empty lines
This commit is contained in:
@@ -363,7 +363,7 @@ def onConnected(interface):
|
||||
if 'owner' in configuration:
|
||||
print(f"Setting device owner to {configuration['owner']}")
|
||||
getNode().setOwner(configuration['owner'])
|
||||
|
||||
|
||||
if 'channel_url' in configuration:
|
||||
print("Setting channel url to", configuration['channel_url'])
|
||||
getNode().setURL(configuration['channel_url'])
|
||||
@@ -390,7 +390,7 @@ def onConnected(interface):
|
||||
print("Setting device position")
|
||||
interface.sendPosition(lat, lon, alt, time)
|
||||
interface.localNode.writeConfig()
|
||||
|
||||
|
||||
if 'user_prefs' in configuration:
|
||||
prefs = getNode().radioConfig.preferences
|
||||
for pref in configuration['user_prefs']:
|
||||
|
||||
Reference in New Issue
Block a user