Skip to content

Commit ef508d4

Browse files
Fix Anti-pattern PYL-R0123 (- Fixes #53 -)
1 parent aa386db commit ef508d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_usage.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# Python Repo Template
55
# ..................................
6-
# Copyright (c) 2017-2019, Kendrick Walls
6+
# Copyright (c) 2017-2024, Kendrick Walls
77
# ..................................
88
# Licensed under MIT (the "License");
99
# you may not use this file except in compliance with the License.
@@ -57,7 +57,7 @@ def buildPythonCommand(args=None):
5757
# you need to change this to the name of your project
5858
__project__ = str("pythonrepo")
5959
try:
60-
if args is None or args is [None]:
60+
if args is None or (args == [None]):
6161
theArgs = ["exit 1 ; #"]
6262
else:
6363
theArgs = args

0 commit comments

Comments
 (0)