mirror of
https://git.srhtnin.garden/sarah/SaraSortd.git
synced 2026-10-14 18:48:11 +02:00
Fixed DirConf to change the LastFile value to the last file sorted in the folder.
This commit is contained in:
1 parent
bf454bf09b
commit
5dbc03ff7f
2 files changed
+11
-4
No files matched your search
+2
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user