Update config.py

This commit is contained in:
midoks
2018-12-12 21:57:24 +08:00
parent 1cf41348b7
commit f99502d2c8
+1
View File
@@ -65,6 +65,7 @@ class config:
initd_bin = '/etc/init.d/mw'
if not os.path.exists(initd_bin):
shutil.copyfile(script_bin, initd_bin)
public.execShell('chmod +x ' + initd_bin)
def getVersion(self):
return self.__version