1
0
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:
Adolfo Gómez 2013-05-14 17:39:20 +00:00
parent 45ad85025d
commit 9642392d7c
2 changed files with 4 additions and 1 deletions

View File

@ -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