1
0
Fork 0
mirror of synced 2024-06-27 02:20:36 +12:00

make archive.py runnable as package and as module

This commit is contained in:
Nick Sweeting 2019-03-27 15:13:47 -04:00
parent dff830196f
commit 79b319a48c
2 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,5 @@
__name__ = 'archivebox'
__package__ = 'archivebox'

View file

@ -8,6 +8,7 @@ but you can also run it directly using `python3 archive.py`
Usage & Documentation:
https://github.com/pirate/ArchiveBox/Wiki
"""
__package__ = 'archivebox'
import os
import sys