Merge pull request #2758 from ryanpetrello/fix-insights

fix to handle nonexistent system_id
This commit is contained in:
Ryan Petrello 2018-08-06 09:24:46 -04:00 committed by GitHub
commit fc589389fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,6 +41,8 @@ def get_system_id(filname):
pass
finally:
f.close()
if system_id:
system_id = system_id.strip()
return system_id