Add basic support for pasting with pastoob
And fix the capability.
This commit is contained in:
parent
5c7eaa3151
commit
6c2d164883
4 changed files with 50 additions and 7 deletions
|
|
@ -42,6 +42,9 @@ class PastebinBackend(BaseBackend, ICapPaste):
|
|||
Value('apikey', label='Optional API key', default='', masked=True),
|
||||
)
|
||||
|
||||
def new_paste(self):
|
||||
return PastebinPaste(None)
|
||||
|
||||
def get_paste(self, _id):
|
||||
with self.browser:
|
||||
return self.browser.get_paste(_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue