Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
pylibs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
domotika
pylibs
Commits
ecc7f564
Commit
ecc7f564
authored
Jul 19, 2020
by
root
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix errors
parent
4ebc01ec
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
routing.py
CorePost/corepost/routing.py
+2
-2
No files found.
CorePost/corepost/routing.py
View file @
ecc7f564
...
@@ -15,7 +15,7 @@ from .enums import MediaType
...
@@ -15,7 +15,7 @@ from .enums import MediaType
from
twisted.internet
import
defer
from
twisted.internet
import
defer
from
twisted.web.http
import
parse_qs
from
twisted.web.http
import
parse_qs
from
twisted.python
import
log
from
twisted.python
import
log
import
re
,
copy
,
exceptions
,
yaml
,
json
,
logging
import
re
,
copy
,
yaml
,
json
,
logging
from
xml.etree
import
ElementTree
from
xml.etree
import
ElementTree
import
uuid
import
uuid
...
@@ -275,7 +275,7 @@ class RequestRouter:
...
@@ -275,7 +275,7 @@ class RequestRouter:
response
=
self
.
__generateResponse
(
request
,
val
,
request
.
code
)
response
=
self
.
__generateResponse
(
request
,
val
,
request
.
code
)
except
exceptions
.
TypeError
as
ex
:
except
TypeError
as
ex
:
log
.
msg
(
ex
,
logLevel
=
logging
.
WARN
)
log
.
msg
(
ex
,
logLevel
=
logging
.
WARN
)
response
=
self
.
__createErrorResponse
(
request
,
400
,
"
%
s"
%
ex
)
response
=
self
.
__createErrorResponse
(
request
,
400
,
"
%
s"
%
ex
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment