From cb5d730d39943b130abec75d4c8c20e54ec7ac54 Mon Sep 17 00:00:00 2001 From: tobywhughes Date: Tue, 3 Mar 2015 18:48:38 -0800 Subject: [PATCH] Fixes / bug --- rtv/content.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rtv/content.py b/rtv/content.py index 9466370..b2a4aa9 100644 --- a/rtv/content.py +++ b/rtv/content.py @@ -325,6 +325,9 @@ class SubredditContent(BaseContent): else: if '/' in name: + if name[0] == '/': + raise SubredditNameError(name) + name, display_type = name.split('/') try: