github-gitea-mirror/giststared.py

16 lines
340 B
Python
Raw Normal View History

2020-10-13 08:07:50 +03:00
import sys
2020-10-13 08:23:34 +03:00
import os
2020-10-13 08:07:50 +03:00
2020-10-13 08:23:34 +03:00
THIS_FOLDER = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(1, "{0}/src/".format(THIS_FOLDER))
2020-10-13 08:07:50 +03:00
from helper import log,getConfig
from gistsStared import gistsStared
config = getConfig()
if config['gistsStared']:
log('Setting Up Mirror For Stared Github Gists')
gistsStared()
log('Finished')