Permalink
Browse files

Fix log_path for atv2

  • Loading branch information...
jbeluch committed Jun 12, 2012
1 parent 518db89 commit c03491181a75533aef573eaaf53ef98487bc3cd6
Showing with 4 additions and 1 deletion.
  1. +4 −1 addon.py
View
@@ -115,7 +115,10 @@ def report_mail(self, mail_address, uploaded_logs):
def __get_logs(self):
if xbmc.getCondVisibility('system.platform.osx'):
- log_path = os.path.join(os.path.expanduser('~'), 'Library/Logs')
+ if xbmc.getCondVisibility('system.platform.atv2'):
+ log_path = '/var/mobile/Library/Preferences'
+ else:
+ log_path = os.path.join(os.path.expanduser('~'), 'Library/Logs')
crashlog_path = os.path.join(os.path.expanduser('~'),
'Library/Logs/CrashReporter')
crashfile_match = 'XBMC'

0 comments on commit c034911

Please sign in to comment.