Skip to content

Commit

Permalink
removed usless check
Browse files Browse the repository at this point in the history
  • Loading branch information
Novecento99 committed Sep 23, 2024
1 parent e97bc34 commit e629448
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions snap7/util/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,9 @@ def prepare_tia_export_to_parse(txt_path: str) -> str:
var_name = var_name + to_add
var_names.append(var_name)

if var_type:
if var_type in valid_list:
new_line = var_offset + "\t" + var_name + "\t" + var_type
db_specification = db_specification + "\n" + new_line
if var_type in valid_list:
new_line = var_offset + "\t" + var_name + "\t" + var_type
db_specification = db_specification + "\n" + new_line
return db_specification


Expand Down

0 comments on commit e629448

Please sign in to comment.