Skip to content

Commit e1d48c9

Browse files
blue-boojordan-wright
authored andcommitted
Correct syntax error (gophish#2)
Previous error: >>> api.pages.get() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "build/bdist.linux-x86_64/egg/gophish/api/pages.py", line 11, in get AttributeError: 'API' object has no attribute 'super'
1 parent 22df49f commit e1d48c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gophish/api/pages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def __init__(self, api, endpoint='/api/pages/'):
88
def get(self, page_id=None):
99
""" Gets one or more pages """
1010

11-
return self.super(API, self).get(resource_id=page_id)
11+
return super(API, self).get(resource_id=page_id)
1212

1313
def post(self, page):
1414
""" Creates a new page """

0 commit comments

Comments
 (0)