Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix log_path for atv2

  • Loading branch information...
commit c03491181a75533aef573eaaf53ef98487bc3cd6 1 parent 518db89
@jbeluch jbeluch authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 addon.py
View
5 addon.py
@@ -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'
Please sign in to comment.
Something went wrong with that request. Please try again.