home · contact · privacy
Fix broken date filename generation.
authorChristian Heller <c.heller@plomlompom.de>
Wed, 24 Sep 2025 08:30:03 +0000 (10:30 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Wed, 24 Sep 2025 08:30:03 +0000 (10:30 +0200)
ircplom/client_tui.py

index 0c08f357fd8a72f9548032fb8f5e204ae418f875..400c29434fd6a5e4f6906e04d6dacd0cd115fa3d 100644 (file)
@@ -50,7 +50,7 @@ class _ClientWindow(Window, ClientQueueMixin):
         if not ldir.exists():
             ldir.mkdir(parents=True)
         assert ldir.is_dir()
-        with ldir.joinpath('f{self._last_today}.txt'
+        with ldir.joinpath(f'{self._last_today}.txt'
                            ).open('a', encoding='utf8') as f:
             f.write(msg + '\n')