Update index.py

This commit is contained in:
Mr Chen 2019-01-11 10:38:10 +08:00
parent f1b517f251
commit 6776cd9932
1 changed files with 4 additions and 4 deletions

View File

@ -15,7 +15,7 @@ import public
app_debug = False
if public.getOs() == 'darwin':
if public.isAppleSystem():
app_debug = True
@ -110,7 +110,7 @@ def reload():
def initdStatus():
if not app_debug:
if public.getOs() == 'darwin':
if public.isAppleSystem():
return "Apple Computer does not support"
_initd_csvn = '/etc/init.d/csvn'
@ -124,7 +124,7 @@ def initdStatus():
def initdInstall():
import shutil
if not app_debug:
if public.getOs() == 'darwin':
if public.isAppleSystem():
return "Apple Computer does not support"
_csvn = getServerDir() + '/bin/csvn'
@ -139,7 +139,7 @@ def initdInstall():
def initdUinstall():
if not app_debug:
if public.getOs() == 'darwin':
if public.isAppleSystem():
return "Apple Computer does not support"
_csvn = getServerDir() + '/bin/csvn'