Skip to content

Commit

Permalink
misk desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
BenderTrump committed Apr 17, 2017
1 parent db9a9a1 commit 9209208
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ webui/.sass-cache/
dist/
build/
lingvodoc.egg-info/
alembic.ini

# webui2
target/
Expand Down
1 change: 1 addition & 0 deletions lingvodoc/views/v2/user_and_login.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ def signin(request):
result = dict()
result['client_id'] = client.id
request.response.status = HTTPOk.code
print(result)
# request.response.headers = headers
# return response
return HTTPOk(headers=response.headers, json_body=result)
Expand Down
5 changes: 5 additions & 0 deletions update2.pyw
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,11 @@ class Example(QWidget):
new_file.write(new_text)
pass

backup_control('start.pyw')
backup_control('start.bat')
backup_control('update.bat')
backup_control('pre_update.pyw')

os.remove(old_ini)
os.rename(tmp_ini, old_ini)
if os.path.exists(tmp_ini):
Expand Down

0 comments on commit 9209208

Please sign in to comment.