Skip to content

Commit

Permalink
Another stupid bytes bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ibell committed Aug 25, 2023
1 parent d30364f commit 1ddf729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GUI/panels/pdsim_panels.py
Original file line number Diff line number Diff line change
Expand Up @@ -2373,7 +2373,7 @@ def OnAddFluid(self, event = None):
# Check that you can get the molar mass of this fluid
Fluid = dlg.GetValue().encode('ascii')
dlg.Destroy()
if 'BICUBIC' in Fluid or 'TTSE' in Fluid:
if b'BICUBIC' in Fluid or b'TTSE' in Fluid:
dlg3 = wx.MessageDialog(None,"Warning: If tables have not been created already for this fluid, it will take a while to build the tables")
dlg3.ShowModal()
dlg3.Destroy()
Expand Down

0 comments on commit 1ddf729

Please sign in to comment.