Changeset 1054d21 in osmose-frontend for osmose.py


Ignore:
Timestamp:
Oct 29, 2012 8:49:12 PM (6 years ago)
Author:
Frédéric Rodrigo <frodrigo@…>
Branches:
master
Children:
c537e71
Parents:
a471d0e
Message:

Switch to graph to matplotlib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • osmose.py

    r968dae2 r1054d21  
    2323 
    2424def ext_filter(config): 
    25     regexp = r'html|json|xml|rss' 
     25    regexp = r'html|json|xml|rss|png|svg|pdf' 
    2626    def to_python(match): 
    27         return match if match in ('html', 'json', 'xml', 'rss') else 'html' 
     27        return match if match in ('html', 'json', 'xml', 'rss', 'png', 'svg', 'pdf') else 'html' 
    2828    def to_url(ext): 
    2929        return ext 
Note: See TracChangeset for help on using the changeset viewer.