Skip to content

Commit

Permalink
Merge fbf6a13 into 854bf59
Browse files Browse the repository at this point in the history
  • Loading branch information
gkanwar committed Jul 19, 2019
2 parents 854bf59 + fbf6a13 commit 33bad72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sacred/host_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,4 @@ def _get_cpu_by_proc_cpuinfo():


def _get_cpu_by_pycpuinfo():
return cpuinfo.get_cpu_info()['brand']
return cpuinfo.get_cpu_info().get('brand', 'Unknown')

0 comments on commit 33bad72

Please sign in to comment.