Permalink
Browse files

Quick fix for update_settings with header_hover_text. Version bump.

  • Loading branch information...
1 parent 58b1dff commit 2d91358142eb1f378f52f13d58b0712116b5c37c @bboe bboe committed Apr 24, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 deploy.sh
  2. +2 −2 reddit/__init__.py
View
@@ -12,7 +12,7 @@ if [ $lines -ne 2 ]; then
exit 1
fi
-version=$(python -c "import reddit.version; print reddit.version.VERSION")
+version=$(python -c "import reddit; print reddit.__version__")
read -p "Do you want to deploy $version? [y/n] " input
case $input in
View
@@ -30,7 +30,7 @@
import reddit.objects
from reddit.settings import CONFIG
-__version__ = '1.3.6'
+__version__ = '1.3.7'
UA_STRING = '%%s PRAW/%s Python/%s %s' % (__version__,
sys.version.split()[0],
platform.platform(True))
@@ -497,7 +497,7 @@ def bool_str(item):
'domain': domain or '',
'domain_css': bool_str(domain_css),
'domain_sidebar': bool_str(domain_sidebar),
- 'header-title': header_hover_text}
+ 'header-title': header_hover_text or ''}
# pylint: disable-msg=E1101,W0212
reddit.helpers._request.evict([self.config['subreddit_settings'] %
six.text_type(subreddit)])

0 comments on commit 2d91358

Please sign in to comment.