diff --git a/index.py b/index.py index 734ca6a..9dd7987 100755 --- a/index.py +++ b/index.py @@ -21,7 +21,7 @@ printheader() # BODY print('Nouveau VHOST', "
" , sep='' ) -for i in os.listdir("/etc/apache2/sites-available"): +for i in sorted(os.listdir("/etc/apache2/sites-available")): if os.path.isfile("/etc/apache2/sites-enabled/" + i): print('', i ,' is enable!
', sep='') else: