Skip to content

Commit

Permalink
Merge pull request #94 from packethost/issue_68
Browse files Browse the repository at this point in the history
fixes 68
  • Loading branch information
displague authored Jul 10, 2020
2 parents 0198141 + 2fca5f8 commit f32e551
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packet/Device.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
# SPDX-License-Identifier: LGPL-3.0-only
# from .Volume import Volume
from .OperatingSystem import OperatingSystem


class Device:
Expand All @@ -25,7 +26,7 @@ def __init__(self, data, manager):
self.always_pxe = data.get("always_pxe", False)
self.storage = data.get("storage")
self.customdata = data.get("customdata", None)
self.operating_system = data.get("operating_system")
self.operating_system = OperatingSystem(data["operating_system"])
self.facility = data.get("facility")
self.project = data.get("project")
self.ssh_keys = data.get("ssh_keys")
Expand Down

0 comments on commit f32e551

Please sign in to comment.