diff options
author | Timotej Lazar <timotej.lazar@araneo.org> | 2015-08-31 18:50:29 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@araneo.org> | 2015-08-31 18:50:29 +0200 |
commit | cf284202b76c94daa0425ac21e6f36182a375ffc (patch) | |
tree | 6efc65e7981b32639e19bcd462d31334e4d54b35 /client | |
parent | 55e70f4a90ad32bbde58c4f3ad1dc0862739b75e (diff) |
Return problems for all languages in list_problems
Diffstat (limited to 'client')
-rw-r--r-- | client/__init__.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/client/__init__.py b/client/__init__.py index 1ac18cd..0e3e06a 100644 --- a/client/__init__.py +++ b/client/__init__.py @@ -12,7 +12,6 @@ CodeqManager.register('UserSession') #CodeqManager.register('get_session_by_id') #CodeqManager.register('get_or_create_session') #CodeqManager.register('authenticate_and_create_session') -#CodeqManager.register('list_problems_in_groups') CodeqManager.register('Codeq') m = CodeqManager(address=('localhost', 16231), authkey=b'c0d3q3y') @@ -31,6 +30,5 @@ def authenticate_and_create_session(username, password): # return m.authenticate_and_create_session(username, password) return codeq.authenticate_and_create_session(username, password) -def list_problems_in_groups(language): -# return m.list_problems_in_groups(language) - return codeq.list_problems_in_groups(language) +def list_problems(): + return codeq.list_problems() |