mirror of
https://github.com/dkmstr/openuds.git
synced 2024-12-22 13:34:04 +03:00
Fixed rdesktop folders redirection (signed jar only)
This commit is contained in:
parent
45ad85025d
commit
9642392d7c
@ -743,7 +743,10 @@ class User(models.Model):
|
||||
returns the groups (and metagroups) this user belongs to
|
||||
'''
|
||||
if self.parent != -1:
|
||||
usr = User.objects.get(id=self.parent)
|
||||
try:
|
||||
usr = User.objects.get(id=self.parent)
|
||||
except: # If parent do not exists
|
||||
usr = self
|
||||
else:
|
||||
usr = self
|
||||
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user