only change type_name when authenticate user is supplied

pull/33/head
James 7 years ago
parent 7400cdeec8
commit d1616d9e61

@ -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