mirror of
https://github.com/certbot/certbot.git
synced 2026-07-30 18:14:21 +02:00
* Fixes #7220 to allow config to be loaded from <(envsubst < template)
This commit is contained in:
@@ -303,8 +303,8 @@ def validate_file(filename):
|
||||
if not os.path.exists(filename):
|
||||
raise errors.PluginError('File not found: {0}'.format(filename))
|
||||
|
||||
if not os.path.isfile(filename):
|
||||
raise errors.PluginError('Path is not a file: {0}'.format(filename))
|
||||
if os.path.isdir(filename):
|
||||
raise errors.PluginError('Path is a directory: {0}'.format(filename))
|
||||
|
||||
|
||||
def validate_file_permissions(filename):
|
||||
|
||||
Reference in New Issue
Block a user