Skip to content

Commit

Permalink
Run black
Browse files Browse the repository at this point in the history
  • Loading branch information
awlx authored Sep 10, 2021
1 parent 5a647b9 commit 4ede1e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgkex/worker/mqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def on_message(client: mqtt.Client, userdata: Any, message: mqtt.MQTTMessage) ->
"""
# TODO(ruairi): Check bounds and raise exception here.
logging.debug("Got message %s from MTQQ", message)
domain_prefix=load_config().get("domain_prefix")
domain_prefix = load_config().get("domain_prefix")
domain = re.search(r"/.*" + domain_prefix + "(\w+)/", message.topic).group(1)
logging.debug("Found domain %s", domain)
client = WireGuardClient(
Expand Down

0 comments on commit 4ede1e1

Please sign in to comment.