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 Jan 12, 2023
1 parent dacb056 commit 9beb397
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 9beb397

Please sign in to comment.