mirror of
https://github.com/TriM-Organization/Linglun-Converter.git
synced 2024-11-28 16:15:25 +08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
3a63b25dfd
17
llc_cli.py
17
llc_cli.py
@ -88,18 +88,11 @@ elif nowYang.month == 4 and nowYang.day == 3:
|
|||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
# 显示箴言部分
|
# 显示箴言部分
|
||||||
try:
|
MainConsole.print(
|
||||||
MainConsole.print(
|
"[#121110 on #F0F2F4]{}".format(random.choice(myWords)),
|
||||||
"[#121110 on #F0F2F4]{}".format(random.choice(myWords)),
|
style="#121110 on #F0F2F4",
|
||||||
style="#121110 on #F0F2F4",
|
justify="center",
|
||||||
justify="center",
|
)
|
||||||
)
|
|
||||||
except (ConnectionError, SSLError):
|
|
||||||
MainConsole.print(
|
|
||||||
"[#121110 on #F0F2F4]以梦想为驱使 创造属于自己的未来",
|
|
||||||
style="#121110 on #F0F2F4",
|
|
||||||
justify="center",
|
|
||||||
)
|
|
||||||
|
|
||||||
prt(f"{_('LangChd')}{_(':')}{_(currentLang)}")
|
prt(f"{_('LangChd')}{_(':')}{_(currentLang)}")
|
||||||
|
|
||||||
|
@ -22,10 +22,10 @@ try:
|
|||||||
.split("\n")
|
.split("\n")
|
||||||
)
|
)
|
||||||
except (ConnectionError, SSLError):
|
except (ConnectionError, SSLError):
|
||||||
myWords = "以梦想为驱使 创造属于自己的未来"
|
myWords = ["以梦想为驱使 创造属于自己的未来"]
|
||||||
# noinspection PyBroadException
|
# noinspection PyBroadException
|
||||||
except BaseException:
|
except BaseException:
|
||||||
myWords = "以梦想为驱使 创造属于自己的未来"
|
myWords = ["以梦想为驱使 创造属于自己的未来"]
|
||||||
|
|
||||||
|
|
||||||
JustifyMethod = Literal["default", "left", "center", "right", "full"]
|
JustifyMethod = Literal["default", "left", "center", "right", "full"]
|
||||||
|
Loading…
Reference in New Issue
Block a user