Skip to content

Commit

Permalink
docs: Update shell message to import models
Browse files Browse the repository at this point in the history
  • Loading branch information
cdvv7788 committed Dec 6, 2020
1 parent 8d22ebf commit db73d92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion archivebox/logging_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ def log_shell_welcome_msg():
from .cli import list_subcommands

print('{green}# ArchiveBox Imports{reset}'.format(**ANSI))
print('{green}from archivebox.core.models import Snapshot, User{reset}'.format(**ANSI))
print('{green}from core.models import Snapshot, User{reset}'.format(**ANSI))
print('{green}from archivebox import *\n {}{reset}'.format("\n ".join(list_subcommands().keys()), **ANSI))
print()
print('[i] Welcome to the ArchiveBox Shell!')
Expand Down

0 comments on commit db73d92

Please sign in to comment.