Only run program if entry script
This commit is contained in:
1 parent
a1568bfed7
commit
e7210f03c2
1 file changed
+2
-2
@@ -294,5 +294,5 @@ def testCommands(directories, command, arguments = ""):
|
||||
|
||||
return None #We didn't find any program that worked
|
||||
|
||||
main() #Run main program
|
||||
|
||||
if __name__ == "__main__":
|
||||
main() #Run main program
|
||||
Reference in new issue
Block a user