don't add stream tag by default

This commit is contained in:
Kyle Mahan 2015-04-19 14:14:15 -07:00
parent 1f6a315892
commit e91162034b
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@
<link rel="shortcut icon" href="{{ url_for('static', filename='logo.png') }}"/>
<link rel="apple-touch-icon" href="{{ url_for('static', filename='logo.png') }}"/>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css', version='2015-03-20a') }}"/>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css', version='2015-04-19') }}"/>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"/>
<script src="//code.jquery.com/jquery-2.1.3.min.js"></script>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">

View file

@ -306,7 +306,7 @@ def subscribe():
return flask.render_template('subscribe.jinja2')
def add_subscription(origin, feed_url, type, tags=['stream']):
def add_subscription(origin, feed_url, type, tags=None):
feed = Feed.query.filter_by(feed=feed_url, type=type).first()
if not feed:
if type == 'html':