From 8c33a0858576f0a3a7bab177f92dd444bd65d10a Mon Sep 17 00:00:00 2001 From: ngfchl Date: Sun, 9 Oct 2022 12:37:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=8B=89=E5=8F=96=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E6=97=A5=E5=BF=97=E9=94=99=E8=AF=AF=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- auto_pt/views.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/auto_pt/views.py b/auto_pt/views.py index f326808..0fe9ed5 100644 --- a/auto_pt/views.py +++ b/auto_pt/views.py @@ -378,7 +378,10 @@ def update_page(request): 'delta': delta, 'restart': restart, 'local_logs': get_git_logs(), - 'update_notes': get_git_logs(master='origin/master'), + # 'update_notes': get_git_logs(master='origin/master'), + 'update_notes': get_git_logs( + master='origin/' + os.getenv('DEV') if os.getenv('DEV') else 'master' + ), 'update': update, 'update_tips': update_tips })