calendar
This commit is contained in:
4
bal.py
4
bal.py
@@ -103,8 +103,8 @@ class BalPlugin(BasePlugin):
|
||||
self.ALLOW_REPUSH = BalConfig(config, "bal_allow_repush", True)
|
||||
self.FIRST_EXECUTION = BalConfig(config, "bal_first_execution", True)
|
||||
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_SUMMARY = BalConfig(config,"bal_event_summary", "Will execution of $wallet_name\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", "BAL -Will execution of $wallet_name")
|
||||
self.WILLEXECUTORS = BalConfig(
|
||||
config,
|
||||
"bal_willexecutors",
|
||||
|
||||
3
qt.py
3
qt.py
@@ -1727,7 +1727,7 @@ class WillSettingsWidget(QWidget):
|
||||
alarm_start = BalCalendar.format_time(threshold)
|
||||
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(
|
||||
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("\\", "\\\\")
|
||||
.replace(";", r"\;")
|
||||
.replace(",", r"\,")
|
||||
.replace("\n", r"\n")
|
||||
)
|
||||
return BalCalendar.fold_ical_line(text)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user