Fixed DirConf to change the LastFile value to the last file sorted in the folder.

This commit is contained in:
sarah committed 2026-04-06 01:19:30 +02:00
1 parent bf454bf09b
commit 5dbc03ff7f
2 files changed
+11 -4

No files matched your search

+2 -1
View File
@@ -282,7 +282,8 @@ def Sort(FilePath):
try:
Clone(FilePath, NewDirPath, NewName, True)
UpdateConf(f"{NewDirPath}/{Parse(String = ConfNames["DirConfName"], Parent = os.path.basename(NewDirPath))}.toml", "LastFile", NewName)
TextOutput = Parse(String = ConfLog["Sorted"], VarCall = f"{FilePath} to {NewDirPath}/{NewName}")
LogWrite(TextOutput)
Speak(TextOutput)