Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
SiCKRAGE
sickrage
Commits
7d436fab
Commit
7d436fab
authored
Dec 31, 2020
by
echel0n
Browse files
Fixed issue with post-processing via API v1 cmd
parent
20e0a1c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
sickrage/core/webserver/handlers/api/v1/__init__.py
View file @
7d436fab
...
...
@@ -1175,7 +1175,7 @@ class CMD_PostProcess(ApiCall):
self
.
path
,
args
=
self
.
check_params
(
"path"
,
None
,
False
,
"string"
,
[],
*
args
,
**
kwargs
)
self
.
force_replace
,
args
=
self
.
check_params
(
"force_replace"
,
False
,
False
,
"bool"
,
[],
*
args
,
**
kwargs
)
self
.
return_data
,
args
=
self
.
check_params
(
"return_data"
,
False
,
False
,
"bool"
,
[],
*
args
,
**
kwargs
)
self
.
process_method
,
args
=
self
.
check_params
(
"process_method"
,
ProcessMethod
.
COPY
,
False
,
"string"
,
[
x
.
name
for
x
in
ProcessMethod
],
*
args
,
**
kwargs
)
self
.
process_method
,
args
=
self
.
check_params
(
"process_method"
,
ProcessMethod
.
COPY
.
name
,
False
,
"string"
,
[
x
.
name
for
x
in
ProcessMethod
],
*
args
,
**
kwargs
)
self
.
is_priority
,
args
=
self
.
check_params
(
"is_priority"
,
False
,
False
,
"bool"
,
[],
*
args
,
**
kwargs
)
self
.
delete
,
args
=
self
.
check_params
(
"delete"
,
False
,
False
,
"bool"
,
[],
*
args
,
**
kwargs
)
self
.
failed
,
args
=
self
.
check_params
(
"failed"
,
False
,
False
,
"bool"
,
[],
*
args
,
**
kwargs
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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