Skip to content

Commit dd2189c

Browse files
Merge pull request #78 from Zolotkey/master
Fix profile checkin error.
2 parents 8447cb7 + 32b2989 commit dd2189c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

payload/usr/local/sal/checkin_modules/profile_checkin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def main():
3232
data['payload_types'] = ', '.join(p['PayloadType'] for p in payloads)
3333
data['profile_description'] = profile.get('ProfileDescription', 'None')
3434
data['identifier'] = profile['ProfileIdentifier']
35-
data['organization'] = profile['ProfileOrganization'] or 'None'
35+
data['organization'] = profile.get('ProfileOrganization' or 'None')
3636
data['uuid'] = profile['ProfileUUID']
3737
data['verification_state'] = profile.get('ProfileVerificationState', '')
3838
submission_item['data'] = data

0 commit comments

Comments
 (0)