Fix starting with -c ""
This commit is contained in:
parent
80433edce4
commit
32c9f2ac94
@ -144,7 +144,7 @@ class HostBlocker:
|
|||||||
Return:
|
Return:
|
||||||
True if a read was attempted, False otherwise
|
True if a read was attempted, False otherwise
|
||||||
"""
|
"""
|
||||||
if not os.path.exists(filename):
|
if filename is None or not os.path.exists(filename):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user