mirror of
https://github.com/ngfchl/ptools
synced 2023-07-10 13:41:22 +08:00
修正拉取更新日志错误的bug
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user