attempt to fix

This commit is contained in:
Stefan Weijers 2021-07-25 21:43:56 +02:00
parent 6b7a7c6784
commit 02c22091b4
1 changed files with 5 additions and 5 deletions

10
init.py
View File

@ -4,12 +4,12 @@ import os
from config import bcolors
#Create motd entry
try:
#try:
motdscript = open('/etc/update-motd/stats', 'w')
except:
print('[' + bcolors.FULL + 'IMPORTANT' + bcolors.RESET + ']')
print('Make sure you run the program as root!')
quit()
#except:
# print('[' + bcolors.FULL + 'IMPORTANT' + bcolors.RESET + ']')
# print('Make sure you run the program as root!')
# quit()
cwd = os.getcwd()