Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from player import Player
- import remote_notifs
- player = Player.get_by_pgid('512e674976a64fd8b2265566e4059816')
- player.bundle_id = 'com.pocketgems.dragon'
- remote_notifs.send_ios_remote_notification(player, 'test', False, False)
- def extract_section_from_cert(cert, section):
- lines = cert.splitlines()
- start_line = lines.index('-----BEGIN {}-----'.format(section))
- end_line = lines.index('-----END {}-----'.format(section))
- return '\n'.join(lines[start_line:end_line + 1])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement