attempt to fix
This commit is contained in:
parent
6b7a7c6784
commit
02c22091b4
10
init.py
10
init.py
|
|
@ -4,12 +4,12 @@ import os
|
||||||
from config import bcolors
|
from config import bcolors
|
||||||
|
|
||||||
#Create motd entry
|
#Create motd entry
|
||||||
try:
|
#try:
|
||||||
motdscript = open('/etc/update-motd/stats', 'w')
|
motdscript = open('/etc/update-motd/stats', 'w')
|
||||||
except:
|
#except:
|
||||||
print('[' + bcolors.FULL + 'IMPORTANT' + bcolors.RESET + ']')
|
# print('[' + bcolors.FULL + 'IMPORTANT' + bcolors.RESET + ']')
|
||||||
print('Make sure you run the program as root!')
|
# print('Make sure you run the program as root!')
|
||||||
quit()
|
# quit()
|
||||||
|
|
||||||
cwd = os.getcwd()
|
cwd = os.getcwd()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue