correct the Problem with the react route/urls in flask
This commit is contained in:
@@ -35,8 +35,9 @@ class VRPMDV_Data:
|
||||
logging.basicConfig(format=format, level=logging.INFO, datefmt="%H:%M:%S")
|
||||
self.mons:list = []
|
||||
#TODO ML: uncomment this lines
|
||||
self.rtservice = None #rts.RT_Service()
|
||||
self.rtservice = rts.RT_Service()
|
||||
if (self.rtservice != None):
|
||||
logging.info("init: initCoproFW")
|
||||
self.rtservice.initCoproFW("home/root/elffile","zephyr_openamp_rsc_table.elf")
|
||||
self.logTask = None #createCoproLoggingTask()
|
||||
self.loaded = self.loadFile()
|
||||
@@ -403,9 +404,12 @@ class VRPMDV_Data:
|
||||
# if (complete):
|
||||
# schema = VRPMDV_MonfilesCompleteSchema()
|
||||
# else :
|
||||
logging.info("loadMonfiles: before schemaload")
|
||||
schema = VRPMDV_MonfilesSchema()
|
||||
try:
|
||||
logging.info("loadMonfiles: before schemaload")
|
||||
if (complete):
|
||||
schema = VRPMDV_MonfilesCompleteSchema()
|
||||
else:
|
||||
schema = VRPMDV_MonfilesSchema()
|
||||
try:
|
||||
monfile = schema.loads(fmonfile, unknown=EXCLUDE)
|
||||
except ValidationError as err:
|
||||
logging.info("SchemaError: %s",err.messages) # => {"email": ['"foo" is not a valid email address.']}
|
||||
|
||||
Reference in New Issue
Block a user