Some minor gettext and format fixes.

This commit is contained in:
Libor M authored and Akshay Joshi committed 2020-04-16 12:55:19 +05:30
1 parent 7493649893
commit 8254e9f030
4 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -910,7 +910,7 @@ class Filemanager(object):
Filemanager.check_access_permission(dir, path)
except Exception as e:
res = {
'Error': gettext(u"Error: {0}".format(e)),
'Error': gettext(u"Error: {0}").format(e),
'Code': 0
}
return res
@@ -1131,7 +1131,7 @@ class Filemanager(object):
path, name))
except Exception as e:
res = {
'Error': gettext(u"Error: {0}".format(e)),
'Error': gettext(u"Error: {0}").format(e),
'Code': 0
}
return res