mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 03:52:02 +02:00
setDisplay -> set_display
This commit is contained in:
@@ -275,7 +275,7 @@ CANCEL = "cancel"
|
||||
HELP = "help"
|
||||
|
||||
|
||||
def setDisplay(display_inst):
|
||||
def set_display(display_inst):
|
||||
global display
|
||||
display = display_inst
|
||||
|
||||
|
||||
@@ -78,9 +78,9 @@ def main():
|
||||
continue
|
||||
|
||||
if curses:
|
||||
display.setDisplay(display.NcursesDisplay())
|
||||
display.set_display(display.NcursesDisplay())
|
||||
else:
|
||||
display.setDisplay(display.FileDisplay(sys.stdout))
|
||||
display.set_display(display.FileDisplay(sys.stdout))
|
||||
|
||||
if not server:
|
||||
server = CONFIG.ACME_SERVER
|
||||
|
||||
Reference in New Issue
Block a user