Skip to content

Commit 1682525

Browse files
committed
MDL-68713 core: add 'py' to list of core filetypes.
1 parent 07881a5 commit 1682525

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/classes/filetypes.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ protected static function get_default_types() {
232232
'ps' => array('type' => 'application/postscript', 'icon' => 'pdf'),
233233
'psd' => array('type' => 'image/vnd.adobe.photoshop', 'icon' => 'psd'),
234234
'pub' => array('type' => 'application/x-mspublisher', 'icon' => 'publisher', 'groups' => array('presentation')),
235+
'py' => array('type' => 'text/plain', 'icon' => 'sourcecode'),
235236

236237
'qt' => array('type' => 'video/quicktime', 'icon' => 'video',
237238
'groups' => array('video', 'web_video'), 'string' => 'video'),

0 commit comments

Comments
 (0)