Skip to content

Commit

Permalink
Merge pull request #20 from Ori-Roza/release_1_0_2
Browse files Browse the repository at this point in the history
pre commit
  • Loading branch information
Ori-Roza authored Nov 27, 2023
2 parents 90ad90b + 513a1dc commit 6c5e7cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drf_api_action/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def run_as_api(self, **kw):
raised_exception = ActionsAPIExceptionMiddleware(current_error,
error_type=error_type,
traceback=current_error.__traceback__)
raise raised_exception # pylint: disable=raising-npn-exception
raise raised_exception # pylint: disable=raising-non-exception

return results

Expand Down
2 changes: 1 addition & 1 deletion drf_api_action/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ def extract_next_offset(data_input: Optional[str]) -> Optional[int]:
"""
if data_input is None:
return None
return int(data_input.split("&")[1].split("=")[1])
return int(data_input.split("&")[1].split("=")[1])

0 comments on commit 6c5e7cf

Please sign in to comment.