Update index.py
This commit is contained in:
parent
44f7eb0c39
commit
f77c6f368a
|
|
@ -90,7 +90,7 @@ def getHomeDir():
|
|||
"who | sed -n '2, 1p' |awk '{print $1}'")[0].strip()
|
||||
return '/Users/' + user
|
||||
else:
|
||||
return '/root'
|
||||
return '/home/gogs'
|
||||
|
||||
|
||||
def getRunUser():
|
||||
|
|
|
|||
Loading…
Reference in New Issue