2020-10-13 08:07:50 +03:00
|
|
|
import sys
|
2020-10-13 08:23:34 +03:00
|
|
|
import os
|
2020-10-12 11:30:12 +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-12 11:30:12 +03:00
|
|
|
|
2020-10-13 08:07:50 +03:00
|
|
|
from helper import log,getConfig
|
|
|
|
from repositoryStared import repositoryStared
|
2020-10-12 14:37:51 +03:00
|
|
|
|
2020-10-13 08:07:50 +03:00
|
|
|
config = getConfig()
|
2020-10-12 14:37:51 +03:00
|
|
|
|
2020-10-13 08:07:50 +03:00
|
|
|
if config['repositoryStared']:
|
|
|
|
log('Setting Up Mirror For Stared Github Repository')
|
|
|
|
repositoryStared()
|
|
|
|
log('Finished')
|