summaryrefslogtreecommitdiffstats
path: root/module/api/FileApi.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-03-11 19:49:20 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-03-11 19:50:54 +0100
commit763b142db70ce77952cb46cfccf84d9800f15651 (patch)
treed2636e48766d365bd8a9d079de603b127ab88744 /module/api/FileApi.py
parentMerge pull request #33 from stickell/patch-3 (diff)
downloadpyload-763b142db70ce77952cb46cfccf84d9800f15651.tar.xz
websocket login via session, websocket pushes server status, webui renders server status
Diffstat (limited to 'module/api/FileApi.py')
-rw-r--r--module/api/FileApi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/api/FileApi.py b/module/api/FileApi.py
index 8f09f3cb7..a5d5a8535 100644
--- a/module/api/FileApi.py
+++ b/module/api/FileApi.py
@@ -80,7 +80,7 @@ class FileApi(ApiComponent):
@RequirePerm(Permission.All)
def searchSuggestions(self, pattern):
- names = self.core.db.getMatchingFilenames(pattern, self.userHandle)
+ names = self.core.db.getMatchingFilenames(pattern, self.primaryUID)
# TODO: stemming and reducing the names to provide better suggestions
return uniqify(names)