8000 Fixed a bug. by Elektron-blip · Pull Request #53 · bitly/bitly-api-python · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Apr 9, 2021. It is now read-only.

Fixed a bug. #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fixed a bug.
Fixed a bug that returned `SyntaxWarning: "is" with a literal. Did you mean "=="?`
  • Loading branch information
Elektron-blip authored Oct 12, 2020
commit 7a6e1e3f75791cb6fb574a9b59372069bf1cccde
2 changes: 1 addition & 1 deletion bitly_api/bitly_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def user_link_history(self, created_before=None, created_after=None,
if private is not None:
assert isinstance(private, string_types)
private = private.lower()
assert private is "on" or "off" or "both"
assert private == "on" or "off" or "both"
params["private"] = private
if limit is not None:
assert isinstance(limit, integer_types)
Expand Down
0