diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-01-14 22:11:44 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-01-14 22:11:44 +0100 |
commit | ad531daa433293713cac8b0556f47f964d22fba8 (patch) | |
tree | 0bf5768834da6a9251f51d878ed1d8ad9e427bc5 /source/pyAggr3g470r.py | |
parent | Updated comments in auth.py (diff) | |
download | newspipe-ad531daa433293713cac8b0556f47f964d22fba8.tar.gz newspipe-ad531daa433293713cac8b0556f47f964d22fba8.tar.bz2 newspipe-ad531daa433293713cac8b0556f47f964d22fba8.zip |
Added logout button.
Diffstat (limited to 'source/pyAggr3g470r.py')
-rwxr-xr-x | source/pyAggr3g470r.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source/pyAggr3g470r.py b/source/pyAggr3g470r.py index 8df0ce44..d99ab122 100755 --- a/source/pyAggr3g470r.py +++ b/source/pyAggr3g470r.py @@ -562,6 +562,16 @@ class pyAggr3g470r(object): delete_article.exposed = True @auth.require() + def logout(self): + """ + Close the session. + """ + return self.auth.logout() + + logout.exposed = True + + + @auth.require() def drop_base(self): """ Delete all articles. |