File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -86,23 +86,23 @@ def make_title(queryargs):
8686 if by == "author" :
8787 title += ' with author %s' % queryargs ['author' ].title ()
8888 elif by == "group" :
89- group = queryargs [ 'group' ]
89+ group = queryargs . get ( 'group' )
9090 if group :
9191 title += ' for %s' % group .capitalize ()
9292 elif by == "area" :
93- area = queryargs [ 'area' ]
93+ area = queryargs . get ( 'area' )
9494 if area :
9595 title += ' in %s Area' % area .upper ()
9696 elif by == "ad" :
97- ad_id = queryargs [ 'ad' ]
97+ ad_id = queryargs . get ( 'ad' )
9898 if ad_id :
9999 title += ' with AD %s' % Person .objects .get (id = ad_id )
100100 elif by == "state" :
101- state = queryargs [ 'state' ]
101+ state = queryargs . get ( 'state' )
102102 if state :
103103 title += ' in state %s::%s' % (state , queryargs ['substate' ])
104104 elif by == "stream" :
105- stream = queryargs [ 'stream' ]
105+ stream = queryargs . get ( 'stream' )
106106 if stream :
107107 title += ' in stream %s' % stream
108108 name = queryargs .get ('name' )
You can’t perform that action at this time.
0 commit comments