Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

sys.platform == "darwin" #1371

Open
3 tasks done
minamotorin opened this issue Mar 15, 2022 · 0 comments
Open
3 tasks done

sys.platform == "darwin" #1371

minamotorin opened this issue Mar 15, 2022 · 0 comments

Comments

@minamotorin
Copy link

  • Python version is 3.6;
  • Updated Twint with pip3 install --user --upgrade -e git+https://github.com/twintproject/twint.git@origin/master#egg=twint;
  • I have searched the issues and there are no duplicates of this issue/question/request.

The commit related to this issue is 26769a3.

In macOS, value of sys.platform is "darwin", kernel name of macOS, and the return is ran.
I think this is a bug.

twint/twint/url.py

Lines 19 to 20 in e7c8a0c

if "win" in platform:
return f'\"{date.split()[0]}\"'

minamotorin added a commit to minamotorin/twint that referenced this issue Mar 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant