Full symbol support on server

Fix #496
This commit is contained in:
Julien Duponchelle committed 2016-06-28 22:23:34 +02:00
1 parent e77445e860
commit 8ec11619cd
3 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -54,7 +54,7 @@ class Symbols:
'filename': file,
'builtin': False,
})
self._symbols_path[symbol_id] = os.path.join(get_resource("symbols"), file)
self._symbols_path[symbol_id] = os.path.join(directory, file)
symbols.sort(key=lambda x: x["filename"])
@@ -68,5 +68,6 @@ class SymbolHandler:
if not packet:
break
f.write(packet)
# Reset the symbol list
controller.symbols.list()
response.set_status(204)