Skip to content

Commit

Permalink
🔨 Fixed sign up bug + No console pi flag
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbatovK committed Oct 25, 2022
1 parent 0c85dce commit 4391842
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Build with Pyinstaller
run: |
pyinstaller main.py
pyinstaller --noconsole main.py
- uses: actions/upload-artifact@v2
with:
Expand Down
3 changes: 1 addition & 2 deletions view/widgets/viewmodel/EnteringViewModel.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ def sign_up(self, login, password, signal_finish):
try:
user = self.auth.create_user_with_email_and_password(login + "@gmail.com", password)
user = self.auth.refresh(user['refreshToken'])
user = self.create_and_save_user(login, user)
self.settings_dao.save_theme(user, Theme.DARK)
self.create_and_save_user(login, user)
signal_finish.emit()
except HTTPError as e:
code, msg = parse_error_response(e)
Expand Down

0 comments on commit 4391842

Please sign in to comment.