fix constructor

This commit is contained in:
Jakob Ketterl 2020-02-27 18:43:44 +01:00
parent 278fab268f
commit 6b2656efae

View File

@ -46,13 +46,13 @@ class OwrxAssetsController(AssetsController):
class AprsSymbolsController(AssetsController): class AprsSymbolsController(AssetsController):
def __init__(self, handler, request): def __init__(self, handler, request, options):
pm = PropertyManager.getSharedInstance() pm = PropertyManager.getSharedInstance()
path = pm["aprs_symbols_path"] path = pm["aprs_symbols_path"]
if not path.endswith("/"): if not path.endswith("/"):
path += "/" path += "/"
self.path = path self.path = path
super().__init__(handler, request) super().__init__(handler, request, options)
def getFilePath(self, file): def getFilePath(self, file):
return self.path + file return self.path + file