Skip to content

Commit

Permalink
Fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
s7uck committed Aug 20, 2024
1 parent a788a8c commit a888951
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'] || image.end_with("NIGHT.jpg")
mode = 'NIGHT'
end
description = pic.comment
Expand Down

0 comments on commit a888951

Please sign in to comment.