File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ def send_notify(title, body):
3838
3939 # 如未配置 push_config 则使用青龙环境通知设置
4040 if CONFIG_DATA .get ("push_config" ):
41- notify .push_config = CONFIG_DATA ["push_config" ]. copy ( )
41+ notify .push_config . update ( CONFIG_DATA ["push_config" ])
4242 notify .push_config ["CONSOLE" ] = notify .push_config .get ("CONSOLE" , True )
4343 notify .send (title , body )
4444 except Exception as e :
@@ -181,7 +181,7 @@ def auto_login():
181181 notify_str = f"""
182182📱 手机:{ summary ['phonenum' ]}
183183💰 余额:{ round (summary ['balance' ]/ 100 ,2 )}
184- 📞 通话:{ summary ['voiceUsage' ]} { f' / { summary ['voiceTotal' ]} ' if summary ['voiceTotal' ]> 0 else '' } min
184+ 📞 通话:{ summary ['voiceUsage' ]} { f" / { summary ['voiceTotal' ]} " if summary ['voiceTotal' ]> 0 else '' } min
185185🌐 总流量
186186 - 通用:{ common_str } { f'{ chr (10 )} - 专用:{ special_str } ' if special_str else '' } """
187187
You can’t perform that action at this time.
0 commit comments