Skip to content

Commit ebbf9a5

Browse files
committed
session_manager fix
1 parent 1d212a8 commit ebbf9a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apis/onlyfans/onlyfans.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -699,10 +699,12 @@ def get_subscriptions(self, resume=None, refresh=True, identifiers: list = [], e
699699
# Following logic is unique to creators only
700700
results = []
701701
if self.isPerformer:
702+
temp_session_manager = self.session_manager
702703
delattr(self, "session_manager")
703704
json_authed = jsonpickle.encode(
704705
self, unpicklable=False)
705706
json_authed = jsonpickle.decode(json_authed)
707+
self.session_manager = temp_session_manager
706708
json_authed = json_authed | self.get_user(self.username)
707709

708710
subscription = create_subscription(json_authed)

0 commit comments

Comments
 (0)