fix constructor
This commit is contained in:
parent
278fab268f
commit
6b2656efae
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user