only change type_name when authenticate user is supplied

pull/54/head
James 7 years ago
parent d4b996a02d
commit da47720ce6

@ -67,6 +67,7 @@ class Trakt:
processed = [] processed = []
if authenticate_user:
type_name = type_name.replace('{authenticate_user}', self._user_used_for_authentication(authenticate_user)) type_name = type_name.replace('{authenticate_user}', self._user_used_for_authentication(authenticate_user))
try: try:

Loading…
Cancel
Save