Issues running Asset Tag script

nnewport
New Contributor III

I've been trying to run the Asset Tag python script and am getting an error. It looks like it's showing all of our Macs but not our Mobile Devices. Here is what I am getting. Any help would be appreciated.
https://github.com/bradschm/jss-assettag-importer

---Finished importing asset tags for Computers---
Traceback (most recent call last):
File "jss-assettag-importer.py", line 226, in <module> computers()
File "jss-assettag-importer.py", line 119, in computers computersTotal = len(computers)

TypeError: object of type 'NoneType' has no len()

I feel like I must be missing something simple.

0 REPLIES 0