diff options
| author | Guillaume Horel <guillaume.horel@gmail.com> | 2011-01-22 13:04:31 -0500 |
|---|---|---|
| committer | Guillaume Horel <guillaume.horel@gmail.com> | 2011-01-22 13:04:31 -0500 |
| commit | d1408416563b63d69375216d1dcde14b8d2b7926 (patch) | |
| tree | af9ed7ee67a80553247c3b5250dfbcc98a3945c8 /server | |
| parent | b9bc4eaa3d73977d269161662d8a11a210ef79df (diff) | |
| download | alias-d1408416563b63d69375216d1dcde14b8d2b7926.tar.gz | |
Fix small bug (cannot assign split to None)
Diffstat (limited to 'server')
| -rw-r--r-- | server/object.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/object.py b/server/object.py index 2c1692a..541fa95 100644 --- a/server/object.py +++ b/server/object.py @@ -36,7 +36,7 @@ class Object: def get_permission(self, user): file = open(self.path + 'permissions', 'r') for line in file: - name, perm, None = line.split() + name, perm, key = line.split() if name == user: return int(perm) |
