Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
memoriav
Memobase 2020
services
Import Process
Import API
Commits
979cd528
Verified
Commit
979cd528
authored
Jun 11, 2021
by
Sebastian Schüpbach
Browse files
fix typeerror
parent
e00f918c
Pipeline
#27803
passed with stages
in 2 minutes and 31 seconds
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
import_api_app/resources/ClearCache.py
View file @
979cd528
...
@@ -31,7 +31,7 @@ class ClearCache(Resource):
...
@@ -31,7 +31,7 @@ class ClearCache(Resource):
},
500
},
500
if
response
.
status_code
!=
200
:
if
response
.
status_code
!=
200
:
current_app
.
logger
.
debug
(
'there was an unexpected behaviour calling '
+
uri
)
current_app
.
logger
.
debug
(
'there was an unexpected behaviour calling '
+
uri
)
current_app
.
logger
.
debug
(
'statuscode: '
+
response
.
status_code
+
' content: '
+
current_app
.
logger
.
debug
(
'statuscode: '
+
str
(
response
.
status_code
)
+
' content: '
+
response
.
content
.
decode
(
'utf-8'
))
response
.
content
.
decode
(
'utf-8'
))
return
{
return
{
'content'
:
response
.
content
.
decode
(
"utf-8"
),
'content'
:
response
.
content
.
decode
(
"utf-8"
),
...
...
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