mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-13 00:32:58 -07:00
Merge branch 'nightly' into python3
# Conflicts: # plexpy/datafactory.py
This commit is contained in:
commit
fb395fc2e9
3 changed files with 7 additions and 4 deletions
|
@ -354,7 +354,6 @@ class DataFactory(object):
|
|||
'user': '',
|
||||
'friendly_name': '',
|
||||
'platform': '',
|
||||
'platform': '',
|
||||
'live': item['live'],
|
||||
'guid': item['guid'],
|
||||
'row_id': item['id']
|
||||
|
@ -1433,7 +1432,7 @@ class DataFactory(object):
|
|||
|
||||
if rating_key:
|
||||
logger.info("Tautulli DataFactory :: Deleting lookup info for rating_key %s from the database."
|
||||
% (title, rating_key))
|
||||
% rating_key)
|
||||
result_themoviedb = monitor_db.action('DELETE FROM themoviedb_lookup WHERE rating_key = ?', [rating_key])
|
||||
result_tvmaze = monitor_db.action('DELETE FROM tvmaze_lookup WHERE rating_key = ?', [rating_key])
|
||||
result_musicbrainz = monitor_db.action('DELETE FROM musicbrainz_lookup WHERE rating_key = ?', [rating_key])
|
||||
|
|
|
@ -462,7 +462,11 @@ def create_https_certificates(ssl_cert, ssl_key):
|
|||
|
||||
This code is stolen from SickBeard (http://github.com/midgetspy/Sick-Beard).
|
||||
"""
|
||||
try:
|
||||
from OpenSSL import crypto
|
||||
except ImportError:
|
||||
logger.error("Unable to generate self-signed certificates: Missing OpenSSL module.")
|
||||
return False
|
||||
from certgen import createKeyPair, createSelfSignedCertificate, TYPE_RSA
|
||||
|
||||
serial = timestamp()
|
||||
|
|
|
@ -301,7 +301,7 @@ def send_newsletter(newsletter_id=None, subject=None, body=None, message=None, n
|
|||
email_config=newsletter_config['email_config'],
|
||||
subject=subject,
|
||||
body=body,
|
||||
messsage=message)
|
||||
message=message)
|
||||
return agent.send()
|
||||
else:
|
||||
logger.debug("Tautulli Newsletters :: Notification requested but no newsletter_id received.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue