Skip to content

Commit aa7ac11

Browse files
authored
Bug Fixes (#547)
* changed bcrypt to python3-bcrypt * bugfix for pre existing internet check * change insecure flask caching version in accordance with pyupdev * revert flask caching version back
1 parent 2785a32 commit aa7ac11

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

install.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ def is_enabled(self):
481481

482482
class WebappSetup(Setup):
483483
packages = (
484-
'bcrypt',
484+
'python3-bcrypt',
485485
'libffi-dev',
486486
'libssl-dev',
487487
'libjpeg-dev',

opwen_email_client/util/network.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
def check_connection(hostname: str, port: int) -> bool:
66
try:
77
host = gethostbyname(hostname)
8-
with create_connection((host, 80)):
8+
with create_connection((host, port)):
99
return True
1010
except OSError:
1111
pass

opwen_email_client/webapp/tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def sync(*args, **kwargs):
3838
user_store=webapp.ioc.user_store,
3939
)
4040

41-
if check_connection(AppConfig.STORAGE_ACCOUNT_HOST, 80):
41+
if check_connection(AppConfig.EMAIL_SERVER_HOSTNAME, 80):
4242
sync_emails()
4343
else:
4444
start_internet_connection = StartInternetConnection(

0 commit comments

Comments
 (0)