Browse Source

docs: Update shell message to import models

Cristian 5 years ago
parent
commit
db73d92f83
1 changed files with 1 additions and 1 deletions
  1. 1 1
      archivebox/logging_util.py

+ 1 - 1
archivebox/logging_util.py

@@ -443,7 +443,7 @@ def log_shell_welcome_msg():
     from .cli import list_subcommands
     from .cli import list_subcommands
 
 
     print('{green}# ArchiveBox Imports{reset}'.format(**ANSI))
     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('{green}from archivebox import *\n    {}{reset}'.format("\n    ".join(list_subcommands().keys()), **ANSI))
     print()
     print()
     print('[i] Welcome to the ArchiveBox Shell!')
     print('[i] Welcome to the ArchiveBox Shell!')