Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tautils.py
diff options
context:
space:
mode:
authorWalter Bender <walter@walter-laptop.(none)>2010-02-23 17:37:45 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2010-02-23 17:37:45 (GMT)
commitf9e04506854d0bb00938a22b0f0f32579be9ec1a (patch)
treeb7e33aeedb1365e7d2f899399d571d90675a27ca /tautils.py
parent50a833ba082d4c121e79feefdd34ce950a27bac6 (diff)
adding svg support
Diffstat (limited to 'tautils.py')
-rw-r--r--tautils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tautils.py b/tautils.py
index 8352980..0d95a5b 100644
--- a/tautils.py
+++ b/tautils.py
@@ -167,7 +167,8 @@ def audio_media_type(name):
return name.endswith(('.ogg', '.oga', '.m4a'))
def image_media_type(name):
- return name.endswith(('.png', '.jpg', '.jpeg', '.gif', '.tiff', '.tif'))
+ return name.endswith(('.png', '.jpg', '.jpeg', '.gif', '.tiff', '.tif',
+ '.svg'))
def round_int(n):
if int(float(n)) == n: