Skip to content

Commit

Permalink
Fix indent in chip.configuration python module (#24376)
Browse files Browse the repository at this point in the history
The GetCommissionerCAT function body has wrong indent, which breaks the
import of the package.
  • Loading branch information
mweinelt authored and pull[bot] committed Nov 13, 2023
1 parent 047b8cf commit 451ab47
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/controller/python/chip/configuration/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ def SetCommissionerCAT(cat: int):


def GetCommissionerCAT() -> int:
"""Returns the current local (controllers/commissioning) device CAT. If none has been set,
a default is set and used."""
global _local_cat
"""Returns the current local (controllers/commissioning) device CAT. If none has been set,
a default is set and used."""
global _local_cat

if _local_cat is None:
if _local_cat is None:
SetCommissionerCAT(DEFAULT_COMMISSIONER_CAT)

return _local_cat

0 comments on commit 451ab47

Please sign in to comment.