diff --git a/data/interfaces/default/comicdetails.html b/data/interfaces/default/comicdetails.html index 97647266..cb23c32a 100755 --- a/data/interfaces/default/comicdetails.html +++ b/data/interfaces/default/comicdetails.html @@ -1,7 +1,7 @@ <%inherit file="base.html"/> <%! - import os - from mylar import db + import os, re + from mylar import db, helpers import mylar %> @@ -109,13 +109,47 @@ <% - if comic['Type'] == 'None' or comic['Type'] is None or comic['Type'] == 'Print': + if any([comic['Type'] == 'None', comic['Type'] is None, comic['Type'] == 'Print']) and comic['Corrected_Type'] != 'TPB': comictype = 'Print' else: - comictype = 'Digital' + if comic['Corrected_Type'] is not None: + comictype = comic['Corrected_Type'] + else: + comictype = comic['Type'] %>
- +