Skip to content

Commit 694062f

Browse files
authored
Update main_window.py
1 parent a4be07c commit 694062f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main_window.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ def urlDialog_closed(w, response):
880880
settings["url-for-syncing"] = self.urlEntry.get_text()
881881
self.folder = settings["file-for-syncing"]
882882
if not self.urlEntry.get_text() == "":
883-
# check if the URL for synchronization is correct or not (if YES, the app shows error message in the dialog)
883+
# check if the URL for synchronization is correct or not (if NOT, the app shows error message in the dialog)
884884
try:
885885
r_file = urlopen(f"{settings['url-for-syncing']}/file-settings.json")
886886
jS = json.load(r_file)
@@ -1274,7 +1274,7 @@ def pswdDialog_closed(w, response):
12741274
def check_password(pswdEntry):
12751275
password = self.pswdEntry.get_text()
12761276
"""
1277-
# Remove this criteria, because it is not defined in the "Create new password" dialog
1277+
# Remove this criterion, because it is not defined in the "Create new password" dialog
12781278
elif not re.search(r'\d', password):
12791279
self.pswdDialog.set_response_enabled("ok", False)
12801280
print("The password should has at least one number")

0 commit comments

Comments
 (0)