9 lines
338 B
Python
9 lines
338 B
Python
import update, shutil, json
|
|
|
|
if __name__ == "__main__":
|
|
config = json.loads(update.read_file("config.json"))
|
|
away_subl_user = config["sublime_text"] + "/Packages/User"
|
|
here_subl_user = "sublime_text"
|
|
|
|
for here in os.listdir(here_subl_user):
|
|
shutil.copyfile(here_subl_user + "/" + here, away_subl_user + "/" + here) |