mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-21 02:15:10 -04:00
simplify bin shortcut
This commit is contained in:
parent
51ae634ec9
commit
749f06fe5b
2 changed files with 2 additions and 23 deletions
|
@ -2,16 +2,9 @@
|
|||
|
||||
__package__ = 'archivebox'
|
||||
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
PYTHON_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||
sys.path.append(PYTHON_DIR)
|
||||
|
||||
from .cli.archivebox import main
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main(sys.argv)
|
||||
main()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue