fix to handle nonexistent system_id

This commit is contained in:
Ryan Petrello 2018-08-03 16:08:40 -04:00
parent 090b3fad8e
commit 7df027f826
No known key found for this signature in database
GPG Key ID: F2AA5F2122351777

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