mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-01-19 17:32:31 +00:00
bug fix to previous test
This commit is contained in:
parent
843bfa8ba6
commit
f0a9c33795
@ -344,10 +344,10 @@ def editexpopage(request, path):
|
||||
body = "### File not found ###\n" + str(filepath)
|
||||
import sys
|
||||
import locale
|
||||
body = body + "\nsys.getdefaultencoding() = " + sys.getdefaultencoding()
|
||||
body = body + "\nsys.getfilesystemencoding() = " + sys.getfilesystemencoding()
|
||||
body = body + "\nlocale.getdefaultlocale() = " + locale.getdefaultlocale()
|
||||
body = body + "\nlocale.getpreferredencoding() = " + locale.getpreferredencoding()
|
||||
body = body + "\nsys.getdefaultencoding() = " + str(sys.getdefaultencoding())
|
||||
body = body + "\nsys.getfilesystemencoding() = " + str(sys.getfilesystemencoding())
|
||||
body = body + "\nlocale.getdefaultlocale() = " + str(locale.getdefaultlocale())
|
||||
body = body + "\nlocale.getpreferredencoding() = " + str(locale.getpreferredencoding())
|
||||
pageform = ExpoPageForm({"html": body, "title": "Missing"})
|
||||
return render(request, 'editexpopage.html', {'path': path, 'form': pageform, })
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user