mirror of
https://github.com/tildeclub/ttbp.git
synced 2026-06-24 04:49:26 +00:00
removed redundant sort on file listing; sort on file lists should now
only be called on the specific incantation. wrote a preliminary list scroller on beta only.
This commit is contained in:
@@ -501,6 +501,8 @@ def view_feels(townie):
|
||||
for entry in os.listdir(entryDir):
|
||||
filenames.append(os.path.join(entryDir, entry))
|
||||
metas = core.meta(filenames)
|
||||
metas.sort(key = lambda entry:entry[4])
|
||||
metas.reverse()
|
||||
|
||||
if len(filenames) > 0:
|
||||
entries = []
|
||||
|
||||
Reference in New Issue
Block a user