Skip to content

Commit 8883719

Browse files
TomBaxterfelliott
authored andcommitted
CR response, move max file size to settings
[#OSF-6670]
1 parent 984de27 commit 8883719

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
try:
2+
from mfr import settings
3+
except ImportError:
4+
settings = {}
5+
6+
config = settings.get('CODEPYGMENTS_EXTENSION_CONFIG', {})
7+
8+
9+
MAX_SIZE = config.get('MAX_SIZE', 65536)

0 commit comments

Comments
 (0)