mirror of
https://github.com/varunsridharan/github-gitea-mirror.git
synced 2025-02-23 13:44:34 +08:00
15 lines
340 B
Python
15 lines
340 B
Python
import sys
|
|
import os
|
|
|
|
THIS_FOLDER = os.path.dirname(os.path.abspath(__file__))
|
|
sys.path.insert(1, "{0}/src/".format(THIS_FOLDER))
|
|
|
|
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')
|