Skip to content

Commit

Permalink
Merge pull request #24 from thecotne/master
Browse files Browse the repository at this point in the history
sort files before displaying
  • Loading branch information
akalongman committed Oct 24, 2015
2 parents 7d39cdf + 517c360 commit 9490231
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AutoBackups.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,12 +359,12 @@ def getData(self, time_folder):
f_file.append(folder+' - '+file_name)
f_file.append(fl)
f_files.append(f_file)
f_files.sort(key=lambda x: x[0])
f_files.reverse()
self.datalist = f_files
return f_files



def timeFolders(self, parent):
if (parent == -1):
return
Expand Down Expand Up @@ -703,4 +703,4 @@ def try_open(self, url, browser):


if st_version == 2:
plugin_loaded()
plugin_loaded()

0 comments on commit 9490231

Please sign in to comment.