only change type_name when authenticate user is supplied

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

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

Loading…
Cancel
Save