From d9c4c369924d1874e68b19ed93aa1aefa439b0cd Mon Sep 17 00:00:00 2001
From: Roman Sergienko <romasergienko@outlook.com>
Date: Fri, 04 Dec 2026 08:26:53 +0000
Subject: [PATCH] Add /panel command with deep link to open Mini App with chat context
---
util.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/util.py b/util.py
index 4937b3f..a42ec70 100644
--- a/util.py
+++ b/util.py
@@ -79,7 +79,7 @@
def fmt_dur(seconds: Optional[int]) -> str:
- if seconds is None:
+ if not seconds:
return "бессрочно"
parts = []
for name, size in (("д", 86400), ("ч", 3600), ("м", 60), ("с", 1)):
--
Gitblit v1.9.3