mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-18 06:03:54 +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
|
returns the groups (and metagroups) this user belongs to
|
||||||
'''
|
'''
|
||||||
if self.parent != -1:
|
if self.parent != -1:
|
||||||
|
try:
|
||||||
usr = User.objects.get(id=self.parent)
|
usr = User.objects.get(id=self.parent)
|
||||||
|
except: # If parent do not exists
|
||||||
|
usr = self
|
||||||
else:
|
else:
|
||||||
usr = self
|
usr = self
|
||||||
|
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user