Skip to content

Commit

Permalink
Fixes #34
Browse files Browse the repository at this point in the history
  • Loading branch information
jimbob88 committed Apr 18, 2019
1 parent a281ec1 commit 7334102
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion beer_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -1614,7 +1614,7 @@ def create_complex_html(self):
self.create_html(use_sorttable=True)

def open_file(self, file):
if file != '' and file != None:
if file != '' and file != None and type(file) != tuple:
self.sixth_tab.original_additions = list(sorted(brew_data.water_chemistry_additions)) + list(sorted(brew_data.yeast_data))
self.sixth_tab.added_additions = []
self.sixth_tab.refresh_all()
Expand Down
2 changes: 1 addition & 1 deletion beer_engine2.py
Original file line number Diff line number Diff line change
Expand Up @@ -1618,7 +1618,7 @@ def create_complex_html(self):
self.create_html(use_sorttable=True)

def open_file(self, file):
if file != u'' and file != None:
if file != u'' and file != None and type(file) != tuple:
self.sixth_tab.original_additions = list(sorted(brew_data.water_chemistry_additions)) + list(sorted(brew_data.yeast_data))
self.sixth_tab.added_additions = []
self.sixth_tab.refresh_all()
Expand Down

0 comments on commit 7334102

Please sign in to comment.