This commit is contained in:
2026-05-10 09:58:05 -04:00
parent 41248cff36
commit b87e55c10f
2 changed files with 3 additions and 4 deletions

4
bal.py
View File

@@ -103,8 +103,8 @@ class BalPlugin(BasePlugin):
self.ALLOW_REPUSH = BalConfig(config, "bal_allow_repush", True) self.ALLOW_REPUSH = BalConfig(config, "bal_allow_repush", True)
self.FIRST_EXECUTION = BalConfig(config, "bal_first_execution", True) self.FIRST_EXECUTION = BalConfig(config, "bal_first_execution", True)
self.WELIST_SERVER = BalConfig(config,"bal_welist_server","https://welist.bitcoin-after.life/") self.WELIST_SERVER = BalConfig(config,"bal_welist_server","https://welist.bitcoin-after.life/")
self.EVENT_DESCRIPTION = BalConfig(config,"bal_event_description", "Will execution for $wallet_name\n $heirs_complete\n") self.EVENT_DESCRIPTION = BalConfig(config,"bal_event_description", "BAL will execution of $wallet_name\r\n heirs list: \r\n$heirs_complete")
self.EVENT_SUMMARY = BalConfig(config,"bal_event_summary", "Will execution of $wallet_name\n") self.EVENT_SUMMARY = BalConfig(config,"bal_event_summary", "BAL -Will execution of $wallet_name")
self.WILLEXECUTORS = BalConfig( self.WILLEXECUTORS = BalConfig(
config, config,
"bal_willexecutors", "bal_willexecutors",

3
qt.py
View File

@@ -1727,7 +1727,7 @@ class WillSettingsWidget(QWidget):
alarm_start = BalCalendar.format_time(threshold) alarm_start = BalCalendar.format_time(threshold)
days_difference = (locktime - threshold).days days_difference = (locktime - threshold).days
heirs_details = "\n".join(f"{heir} - {self.bal_window.heirs[heir][0]}, {self.bal_window.heirs[heir][1]}" for heir in self.bal_window.heirs) heirs_details = "\r\n".join(f" {heir} - {self.bal_window.heirs[heir][0]}, {self.bal_window.heirs[heir][1]}" for heir in self.bal_window.heirs)
event_description = BalCalendar.ical_escape( event_description = BalCalendar.ical_escape(
f"{self.bal_window.bal_plugin.EVENT_DESCRIPTION.get()}".replace("$wallet_name",str(self.bal_window.wallet)).replace("$heirs_complete",heirs_details) f"{self.bal_window.bal_plugin.EVENT_DESCRIPTION.get()}".replace("$wallet_name",str(self.bal_window.wallet)).replace("$heirs_complete",heirs_details)
) )
@@ -4051,7 +4051,6 @@ class BalCalendar:
text.replace("\\", "\\\\") text.replace("\\", "\\\\")
.replace(";", r"\;") .replace(";", r"\;")
.replace(",", r"\,") .replace(",", r"\,")
.replace("\n", r"\n")
) )
return BalCalendar.fold_ical_line(text) return BalCalendar.fold_ical_line(text)