Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarZaki96 committed Apr 18, 2022
1 parent fd41440 commit 9ee39f9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion Compressor_select_datasheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ def select_comp(self):
Comp[1].SH_type = 1
Comp[1].Suction_Ref = Suction_T
result = write_comp_xml(Comp[1],path)
error = result
error = not result
except:
error = True

Expand Down
2 changes: 0 additions & 2 deletions GUI_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,6 @@ def write_comp_xml(comp,path):
myfile.write(mydata)
return 1
except:
import traceback
print(traceback.format_exc())
return 0

def write_Fin_tube(HX,path):
Expand Down

0 comments on commit 9ee39f9

Please sign in to comment.