Commit 4bc3ca75 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fixed multi use of file_pattern in /raw/query.

parent 312e8a58
Pipeline #62508 passed with stages
in 24 minutes and 1 second
......@@ -378,9 +378,10 @@ class RawFileQueryResource(Resource):
patterns: List[str] = None
compress = bool(request.args.get('compress', False))
strip = bool(request.args.get('strip', False))
pattern = request.args.get('file_pattern', None)
args = raw_file_from_query_parser.parse_args()
compress = args.get('compress', False)
strip = args.get('strip', False)
pattern = args.get('file_pattern', None)
if isinstance(pattern, str):
patterns = [pattern]
elif pattern is None:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment