1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-22 17:39:29 +08:00

Fix: Format fix

This commit is contained in:
Zuosizhu
2023-02-13 14:54:25 +08:00
parent e3d77a62ca
commit 1412f62d2f
2 changed files with 7 additions and 5 deletions

View File

@@ -1,4 +1,5 @@
import json
import pywebio.pin
import random
import string
import time
@@ -74,7 +75,8 @@ class ScrollableCode:
class RichLog:
last_display_time:dict
last_display_time: dict
def __init__(self, scope, font_width="0.559") -> None:
self.scope = scope
self.font_width = font_width
@@ -96,7 +98,7 @@ class RichLog:
self.keep_bottom = True
self.display_dashboard = False
self.first_display = True
self.last_display_time = {'first': True}
self.last_display_time = {}
if State.theme == "dark":
self.terminal_theme = DARK_TERMINAL_THEME
else: