summaryrefslogtreecommitdiff
path: root/script/files.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/files.lua')
-rw-r--r--script/files.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/files.lua b/script/files.lua
index 9ddc5039..682f630f 100644
--- a/script/files.lua
+++ b/script/files.lua
@@ -52,7 +52,7 @@ function m.getRealUri(uri)
end
filename = res:string()
local ruri = furi.encode(filename)
- if not fixedUri[ruri] then
+ if uri ~= ruri and not fixedUri[ruri] then
fixedUri[ruri] = true
log.warn(('Fix real file uri: %s -> %s'):format(uri, ruri))
end