Skip to content
This repository has been archived by the owner on May 16, 2022. It is now read-only.

Commit

Permalink
Move json settings to the top for better readability
Browse files Browse the repository at this point in the history
Signed-off-by: Igor Shishkin <[email protected]>
  • Loading branch information
teran committed Oct 15, 2017
1 parent 14b0e38 commit 0e5924e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deduplicator.lrdevplugin/FindDuplicates.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ local LrPathUtils = import 'LrPathUtils'
local LrProgressScope = import 'LrProgressScope'
local LrSystemInfo = import 'LrSystemInfo'
local LrTasks = import 'LrTasks'

local json = require "JSON"
json.strictTypes = true

local duplicatesCollectionName = "Duplicates"
local imgsumDatabasePath = LrPathUtils.standardizePath(
Expand Down Expand Up @@ -34,8 +36,6 @@ if LrSystemInfo.is64Bit() then
binName = 'imgsum-amd64'
end

json.strictTypes = true

Deduplicator = {}

function IndexPhoto(photo)
Expand Down

0 comments on commit 0e5924e

Please sign in to comment.