Ignore:
Timestamp:
02/14/16 09:17:27 (8 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

The rank is returned when logging in, and in case of a student, we jump to the student page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/rpc.py

    r759 r760  
    239239            self._loginCount += 1
    240240            self._sessionID = reply.value["sessionID"]
    241             return reply.value["name"]
     241            return (reply.value["name"], reply.value["rank"])
    242242        else:
    243243            return None
Note: See TracChangeset for help on using the changeset viewer.