From 93a60b6066c9c6b812878db79f1b0476f534f284 Mon Sep 17 00:00:00 2001 From: Ensar Date: Mon, 7 Dec 2020 23:27:30 +0300 Subject: [PATCH] Fix Python 3.8 SyntaxWarning: "is not" with a literal /usr/lib/python3/dist-packages/gitsome/github.py:792: SyntaxWarning: "is not" with a literal. Did you mean "!="? ('/' + language if language is not 'overall' else '') + --- gitsome/github.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitsome/github.py b/gitsome/github.py index f6fe03b..7c00008 100644 --- a/gitsome/github.py +++ b/gitsome/github.py @@ -791,7 +791,7 @@ def trending(self, language, weekly, monthly, webbrowser.open( ('https://github.com/trending' + ('/developers' if devs else '') + - ('/' + language if language is not 'overall' else '') + + ('/' + language if language != 'overall' else '') + url_param)) else: click.secho(