Skip to content

Commit

Permalink
also put stuff in date-unknown even if we're not dividing by dates
Browse files Browse the repository at this point in the history
close #245

thanks @hidetheweed for bringing attention to this!
  • Loading branch information
TheLastGimbus committed Sep 23, 2023
1 parent 9a075c7 commit 8e4264e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/moving.dart
Original file line number Diff line number Diff line change
Expand Up @@ -109,14 +109,14 @@ Stream<int> moveFiles(
p.join(
output.path,
file.key?.trim() ?? 'ALL_PHOTOS', // album or all
divideToDates
? date == null
? 'date-unknown'
: p.join(
date == null
? 'date-unknown'
: divideToDates
? p.join(
'${date.year}',
date.month.toString().padLeft(2, '0'),
)
: '',
: '',
),
);
// now folder logic is so complex i'll just create it every time 🤷
Expand Down

0 comments on commit 8e4264e

Please sign in to comment.