Skip to content

Commit c57b96f

Browse files
svyotovgonchik
authored andcommitted
bug in variable non None check (#375)
1 parent aacb7a3 commit c57b96f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

atlassian/confluence.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def get_page_by_title(self, space, title, start=None, limit=None):
122122
params['limit'] = int(limit)
123123
if space is not None:
124124
params['spaceKey'] = str(space)
125-
if space is not None:
125+
if title is not None:
126126
params['title'] = str(title)
127127
try:
128128
return (self.get(url, params=params) or {}).get('results')[0]

0 commit comments

Comments
 (0)