mirror of
https://github.com/ngfchl/ptools
synced 2023-07-10 13:41:22 +08:00
修复显示有更新,但是更新日志为空的bug
This commit is contained in:
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user