mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 12:36:45 +00:00
PEP fix
This commit is contained in:
parent
615a954e09
commit
7ad9f8852e
@ -409,7 +409,7 @@ def DownloadFile(data, filename, content_type='application/text', inline=False):
|
|||||||
def extract_serial_numbers(serials, expected_quantity, next_number: int):
|
def extract_serial_numbers(serials, expected_quantity, next_number: int):
|
||||||
"""
|
"""
|
||||||
Attempt to extract serial numbers from an input string:
|
Attempt to extract serial numbers from an input string:
|
||||||
|
|
||||||
Requirements:
|
Requirements:
|
||||||
- Serial numbers can be either strings, or integers
|
- Serial numbers can be either strings, or integers
|
||||||
- Serial numbers can be split by whitespace / newline / commma chars
|
- Serial numbers can be split by whitespace / newline / commma chars
|
||||||
|
Loading…
x
Reference in New Issue
Block a user