mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
Merge pull request #2489 from Nuullll/sdnext-master
Fix UnboundLocalError for variable 'updated'
This commit is contained in:
@@ -319,6 +319,7 @@ def create_html(search_text, sort_column):
|
||||
for ext in sorted(extensions_list, key=sort_function, reverse=sort_reverse):
|
||||
installed = get_installed(ext)
|
||||
author = ''
|
||||
updated = datetime.timestamp(datetime.now())
|
||||
try:
|
||||
if 'github' in ext['url']:
|
||||
author = ext['url'].split('/')[-2].split(':')[-1] if '/' in ext['url'] else ext['url'].split(':')[1].split('/')[0]
|
||||
|
||||
Reference in New Issue
Block a user