Skip to content

Commit

Permalink
Fix syntax error 2
Browse files Browse the repository at this point in the history
  • Loading branch information
s7uck committed Aug 20, 2024
1 parent a888951 commit 3809242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _plugins/photo_gen.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def generate(site)
if pic['OPMedia:IsHDRActive']
mode += ' HDR'
end
if pic['OPMedia:IsNightModeActive'] || image.end_with("NIGHT.jpg")
if pic['OPMedia:IsNightModeActive']
mode = 'NIGHT'
end
description = pic.comment
Expand Down

0 comments on commit 3809242

Please sign in to comment.