mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-29 11:23:17 +00:00
fix: Failed to import csv data
This commit is contained in:
parent
ed6de83e8c
commit
99c3696d96
@ -167,7 +167,7 @@ class BaseFileParser(BaseParser):
|
||||
rows = list(rows)
|
||||
if not rows:
|
||||
return rows
|
||||
if rows[0][0] == '#Help':
|
||||
if rows[0][0].startswith('#Help'):
|
||||
rows.pop(0)
|
||||
return rows
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user