Skip to content

Commit

Permalink
fixup! Fix "Event loop is closed" message
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidePrincipi committed Jan 18, 2024
1 parent fa88a31 commit f313719
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def get_internal_domains(rdb):
# Check if the provider can be used also as a SMB file server by
# LAN clients. This is possible only with Samba providers but the
# attribute is always set despite of that.
has_file_server_flag = rdb.sismember(f'module/{module_id}/flags', 'file_server')
has_file_server_flag = bool(rdb.sismember(f'module/{module_id}/flags', 'file_server'))

domains[conf['domain']]['providers'].append({
"id": module_id,
Expand Down

0 comments on commit f313719

Please sign in to comment.