Skip to content

Commit

Permalink
Merge pull request #7 from redelka00/master
Browse files Browse the repository at this point in the history
Bug fix + small change
  • Loading branch information
yezz123 authored May 6, 2022
2 parents 93cf71c + bc4c6ce commit 1100ff0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
import urllib.request
from bs4 import BeautifulSoup

collections.Callable = collections.abc.Callable

nu = "\033[0m"
re = "\033[1;31m"
gr = "\033[1;32m"
Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
help="list often used tags")
args = vars(ap.parse_args())

os.system("clear")
os.system('clear') if os.name == 'posix' else os.system('cls')
ig = main(user=args["username"])
if args['tagscrap']:
ig.print_data()
Expand Down

0 comments on commit 1100ff0

Please sign in to comment.