Fix bug on "shorts all resume" when getting last date
This commit is contained in:
@@ -78,7 +78,7 @@ extension KissConsole {
|
||||
while startDate < backDate {
|
||||
let day = backDate.yyyyMM01
|
||||
let fileUrl = KissConsole.shortsFileUrl(productNo: productNo, day: day)
|
||||
guard let _ = fileUrl.isFileExists else {
|
||||
guard fileUrl.isFileExists == true else {
|
||||
backDate = backDate.addingTimeInterval(-29 * SecondsForOneDay)
|
||||
continue
|
||||
}
|
||||
|
||||
2
bin/data
2
bin/data
Submodule bin/data updated: 5f307c3bb1...2c0d7bf82e
Reference in New Issue
Block a user