Skip to content

Commit ee212ca

Browse files
author
gferraro
committed
add a comment
1 parent 5833d22 commit ee212ca

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cmd/thermal-uploader/uploadjob.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,9 @@ func (u *uploadJob) parseDateTime() error {
145145
break
146146
}
147147
}
148-
return fmt.Errorf("Could not parse date time")
148+
return fmt.Errorf("could not parse date time")
149149
}
150+
150151
func (u *uploadJob) preprocess() error {
151152
err := u.parseDateTime()
152153
if err != nil {
@@ -188,6 +189,7 @@ func (u *uploadJob) setDuration() error {
188189
if u.isThermal() {
189190
return nil
190191
}
192+
//duration already set if converted
191193
if u.isAudio() && !u.requiresConversion() {
192194
return nil
193195
}

0 commit comments

Comments
 (0)