We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 731745c commit ccbf7f0Copy full SHA for ccbf7f0
42PyChecker.py
@@ -4,10 +4,9 @@
4
"""
5
import os
6
import argparse
7
+import platform
8
from PyChecker.projects import libft, ft_commandements, other
9
# @todo: Add verbose output
-# @todo: Add command line output when ran on --no-gui
10
-
11
12
def print_header():
13
print("\t42PyChecker Copyright (C) 2018-present Jules Lasne "
@@ -86,4 +85,7 @@ def main():
86
85
87
88
if __name__ == '__main__':
89
- main()
+ if not platform.system() == "Windows":
+ main()
90
+ else:
91
+ raise OSError("Sorry, this script can't be run on windows !")
0 commit comments