修复显示有更新,但是更新日志为空的bug

This commit is contained in:
ngfchl
2022-10-13 09:42:56 +08:00
parent aba4a3c9ac
commit 454edba7b6

View File

@@ -356,7 +356,7 @@ def update_page(request):
update_note = get_git_log('origin/' + branch)
update_notes = []
for log in update_note:
local_logs.append({
update_notes.append({
'date': log.committed_datetime.strftime('%Y-%m-%d %H:%M:%S'),
'data': log.message,
'hexsha': log.hexsha[:16],