Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Games
Kajongg
Commits
ba46de79
Commit
ba46de79
authored
May 04, 2021
by
Wolfgang Rohdewald
Browse files
Logon to server: correctly handle cancellation
parent
bd927b7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/login.py
View file @
ba46de79
...
...
@@ -498,6 +498,8 @@ class Connection:
def
__haveLoginData
(
self
,
arguments
):
"""user entered login data, now try to login to server"""
if
not
Internal
.
autoPlay
and
self
.
dlg
.
result
()
==
0
:
self
.
_loginReallyFailed
(
Failure
(
CancelledError
()))
self
.
url
,
self
.
username
,
self
.
password
,
self
.
ruleset
=
arguments
if
self
.
url
.
isLocalHost
:
# we have localhost if we play a Local Game: client and server are identical,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment