Commit dadaa9e
authored
Refactor
This commit short-circuits the following check added in the previous commit (d8fcff5) [1]:
```
if video_duration and video_duration ~= nil then
video_duration = tonumber(video_duration)
else
video_duration = 0
end
```
[1] gsbabil@d8fcff5nil checking for video_duration
1 parent d8fcff5 commit dadaa9e
1 file changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2115 | 2115 | | |
2116 | 2116 | | |
2117 | 2117 | | |
2118 | | - | |
2119 | | - | |
2120 | | - | |
2121 | | - | |
2122 | | - | |
2123 | | - | |
| 2118 | + | |
| 2119 | + | |
2124 | 2120 | | |
2125 | 2121 | | |
2126 | 2122 | | |
| |||
0 commit comments