Update index.py

This commit is contained in:
Mr Chen
2019-03-11 17:32:27 +08:00
parent dc149ac022
commit f3f69767a1
+1 -1
View File
@@ -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():