From 2dc33598d80358dd4c8b618cb0d42aa2054f2005 Mon Sep 17 00:00:00 2001
From: Roman Sergienko <romasergienko@outlook.com>
Date: Fri, 04 Dec 2026 08:23:53 +0000
Subject: [PATCH] Use KeyboardButton with web_app for /panel command to open Mini App
---
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