diff --git a/brewman/brewman/models/messaging.py b/brewman/brewman/models/messaging.py index 27c64cab..7313be45 100644 --- a/brewman/brewman/models/messaging.py +++ b/brewman/brewman/models/messaging.py @@ -71,6 +71,8 @@ class Thread(Base): @classmethod def by_id(cls, id): + if not isinstance(id, uuid.UUID): + id = uuid.UUID(id) return DBSession.query(cls).filter(cls.id == id).first() @classmethod diff --git a/brewman/brewman/static/offline.appcache b/brewman/brewman/static/offline.appcache index 1cd19418..76df45e3 100644 --- a/brewman/brewman/static/offline.appcache +++ b/brewman/brewman/static/offline.appcache @@ -1,6 +1,6 @@ CACHE MANIFEST -# version 2013-06-19.1 +# version 2013-06-24.1 CACHE: /partial/404.html diff --git a/brewman/brewman/static/partial/home.html b/brewman/brewman/static/partial/home.html index 87077e81..40fb99e2 100644 --- a/brewman/brewman/static/partial/home.html +++ b/brewman/brewman/static/partial/home.html @@ -6,7 +6,7 @@
  • Open
  • Closed
  • All
  • -