Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/salopensource/sal
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamgilbert committed Jun 7, 2017
2 parents 1aa8bb4 + 835108f commit f02710a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/templates/server/machine_detail.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load i18n %}
{% load dashboard_extras %}

{% block title %}Sal - {{ machine.hostname }}{% endblock %}
{% block script %}
<script>

Expand Down
5 changes: 4 additions & 1 deletion server/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1957,7 +1957,10 @@ def checkin(request):
machine.os_family = report_data['os_family']

if not machine.machine_model_friendly:
machine.machine_model_friendly = utils.friendly_machine_model(machine)
try:
machine.machine_model_friendly = utils.friendly_machine_model(machine)
except:
machine.machine_model_friendly = machine.machine_model

if deployed_on_checkin is True:
machine.deployed = True
Expand Down

0 comments on commit f02710a

Please sign in to comment.