Commit 99cb77c6 authored by d_beck26's avatar d_beck26

small None-Type error fix

parent 5af0b1bc
......@@ -57,6 +57,7 @@ class CaffeVersionManager(QDialog):
def _onAddVersion(self):
"""Opens the dialog to add new caffe versions"""
hosts = self.hostManager.getActiveHostList()[:]
ret = None
if len(hosts) == 0:
caffedlg = CaffepathDialog("Add a new caffe version to Barista", "Add version")
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment