瀏覽代碼

Typos and punctuation fixed

pull/93/head
flo269 GitHub 8 年之前
父節點
當前提交
c20536e95e
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      modules/system/endpoints.py

+ 2
- 2
modules/system/endpoints.py 查看文件

@@ -48,7 +48,7 @@ class SystemView(FlaskView):
o.fetch()
g = Git('./')
g.checkout(name)
cbpi.notify("Checkout successful", "Please restart the system")
cbpi.notify("Checkout successful.", "Please restart the system.")
return ('', 204)
@route('/git/status', methods=['GET'])
@@ -95,7 +95,7 @@ class SystemView(FlaskView):
repo = Repo('./')
o = repo.remotes.origin
info = o.pull()
cbpi.notify("Pull successful", "The lasted updated was downloaded. Please restart the system")
cbpi.notify("Pull successful", "The lastet update was downloaded. Please restart the system.")
return ('', 204)
@route('/dump', methods=['GET'])


Loading…
取消
儲存