1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-14 13:59:24 +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

@@ -16,11 +16,11 @@ jobs:
# https://github.com/Yikun/hub-mirror-action
uses: Yikun/hub-mirror-action@master
with:
src: github/Zuosizhu
dst: gitee/zuosizhu
src: github/Lmesincz
dst: gitee/lmesincz
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
dst_token: ${{ secrets.GITEE_TOKEN }}
static_list: 'AzurLaneAutoScript'
mappings: "AzurLaneAutoScript=>AzurLaneAutoScript"
mappings: "AzurLaneAutoScript=>azur-lane-auto-script-mirror"
force_update: true
timeout: '30m'

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: