Closed outdooracorn closed 4 years ago
I confirm the fix in #4 is sufficient. especially needed since with python2 errors out like:
@glensc this repo doesn't seem maintained anymore. I forked it and applied this fix.
I also added profile:backup:apply
. Note that it doesn't do any deduplication when applying the backup so you'll probably have to do a history:duplicates:merge
afterwards.
@outdooracorn did you ask owner @fuzeman to transfer ownership? would be nice to continue using same pip package.
Apologies for not having this issue fixed sooner. I'll have a new version released ASAP.
Thanks for your contributions @outdooracorn 👍
v0.2.1 is now available on PyPI
Python version:
3.6.7
trakt-tools version:0.1.8
Command executed:
trakt_tools profile:backup:create --backup-dir TraktBackups
Output:
Opening the file in text mode instead of binary mode (
'w'
instead of'wb'
) attrakt_tools/models/backup.py:24
seems to fix the issue. This has only been used briefly with Python 3.6.7 though so don't know if this would break Python 2 support.I appreciate you haven't committed to this in over 2 years and may no longer be interested.