Skip to content

Commit 607cb4d

Browse files
fix: romoving all inbounds if INBOUNDS is none (#71)
1 parent 2ca9251 commit 607cb4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919

2020
SERVICE_PROTOCOL = config('SERVICE_PROTOCOL', cast=str, default='rest')
2121

22-
INBOUNDS = config("INBOUNDS", cast=lambda v: [x.strip() for x in v.split(',')], default="")
22+
INBOUNDS = config("INBOUNDS", cast=lambda v: [x.strip() for x in v.split(',')] if v else [], default="")

0 commit comments

Comments
 (0)