Skip to content

Commit

Permalink
no line for or
Browse files Browse the repository at this point in the history
  • Loading branch information
steenstra committed Nov 1, 2021
1 parent fa6be32 commit 8b32f46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bing_image_downloader/bing.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ def __init__(self, query, limit, output_dir, adult, timeout, filter='', verbose


def get_filter(self, shorthand):
if shorthand == "line" | shorthand == "linedrawing":
if shorthand == "line" or shorthand == "linedrawing":
return "+filterui:photo-linedrawing"
elif shorthand == "photo":
return "+filterui:photo-photo"
elif shorthand == "clipart":
return "+filterui:photo-clipart"
elif shorthand == "gif" | shorthand == "animatedgif":
elif shorthand == "gif" or shorthand == "animatedgif":
return "+filterui:photo-animatedgif"
elif shorthand == "transparent":
return "+filterui:photo-transparent"
Expand Down

0 comments on commit 8b32f46

Please sign in to comment.