diff --git a/inqry/form_instructions.py b/inqry/form_instructions.py index 5b4a7bb..8cd1bad 100644 --- a/inqry/form_instructions.py +++ b/inqry/form_instructions.py @@ -8,7 +8,8 @@ def __init__(self, specs: SystemSpecs): self.processor = '{} {}'.format(specs.processor_speed, specs.processor_name) self.form_types = {'Desktop': [self.processor, specs.memory, specs.drive1, specs.drive2, - specs.drive3, specs.drive4],} + specs.drive3, specs.drive4] + } self.model_identifier = specs.model_identifier self.model_name = specs.model_name self.serial_number = specs.serial_number diff --git a/setup.py b/setup.py index 77c8541..51f07c5 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ except ImportError: from distutils.core import setup -__version__ = '1.3.1' +__version__ = '1.3.2' __author__ = "Microsoft Apex Lab" __copyright__ = 'Copyright © 2017 Microsoft. All rights reserved.' __credits__ = ["Eric Hanko", "Jacob Zaval", "Michael Brown", "Andre Shields", "Ryan Dominguez", "Eammon Hanlon"] @@ -20,13 +20,15 @@ assets into a Snipe-IT database. ''' -plist = Plist.fromFile('Info.plist') -plist.update(dict( - CFBundleVersion=__version__, - CFBundleShortVersionString=__version__, - CFBundleName='InQRy', - NSHumanReadableCopyright=__copyright__) -) +try: + plist = Plist.fromFile('Info.plist') + plist.update(dict( + CFBundleVersion=__version__, + CFBundleShortVersionString=__version__, + CFBundleName='InQRy', + NSHumanReadableCopyright=__copyright__)) +except FileNotFoundError: + plist = None setup( name='inqry',