mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-03-26 04:01:50 +00:00
test
This commit is contained in:
parent
aad6b70736
commit
c9d7931ccb
@ -131,7 +131,7 @@ def expowebpage(request, expowebpath, path):
|
|||||||
try:
|
try:
|
||||||
with open(os.path.normpath(expowebpath / path).encode(sysdefaultencoding), "r", encoding='utf-8') as o:
|
with open(os.path.normpath(expowebpath / path).encode(sysdefaultencoding), "r", encoding='utf-8') as o:
|
||||||
html = o.read()
|
html = o.read()
|
||||||
except:
|
except Cave.DoesNotExist:
|
||||||
# exception raised on debian with python 3.9.2 but not on WSL Ubuntu with python 3.9.5
|
# exception raised on debian with python 3.9.2 but not on WSL Ubuntu with python 3.9.5
|
||||||
# because debian was assuming default text encoding was 'ascii'. Now specified explicitly so should be OK
|
# because debian was assuming default text encoding was 'ascii'. Now specified explicitly so should be OK
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user