Skip to content

Commit 1608d62

Browse files
committed
Fix saving to RAM not being default for update_profile
1 parent f22b5c3 commit 1608d62

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

sdbus_async/networkmanager/interfaces_other.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -614,9 +614,11 @@ def removed(self) -> None:
614614
"""Signal when connection is removed"""
615615
raise NotImplementedError
616616

617-
async def update_profile(self,
618-
profile: ConnectionProfile,
619-
save_to_disk: bool = True) -> None:
617+
async def update_profile(
618+
self,
619+
profile: ConnectionProfile,
620+
save_to_disk: bool = False,
621+
) -> None:
620622
"""Update connection using the profile dataclass.
621623
622624
:param ConnectionProfile profile: Connection profile to update

sdbus_block/networkmanager/interfaces_other.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -582,9 +582,11 @@ def filename(self) -> str:
582582
"""File that stores connection settings"""
583583
raise NotImplementedError
584584

585-
def update_profile(self,
586-
profile: ConnectionProfile,
587-
save_to_disk: bool = True) -> None:
585+
def update_profile(
586+
self,
587+
profile: ConnectionProfile,
588+
save_to_disk: bool = False,
589+
) -> None:
588590
"""Update connection using the profile dataclass.
589591
590592
:param ConnectionProfile profile: Connection profile to update

0 commit comments

Comments
 (0)