1
0
mirror of https://github.com/chubin/cheat.sh.git synced 2026-06-20 21:26:44 +02:00

adapter_learnxiny updated to not use hardcoded path

This commit is contained in:
Brandon Lopez
2018-07-27 16:16:31 -07:00
parent 3e5641470a
commit 2a56f02751
+2 -1
View File
@@ -5,6 +5,7 @@ from __future__ import print_function
import os
import re
from globals import MYDIR
class LearnXYAdapter(object):
@@ -12,7 +13,7 @@ class LearnXYAdapter(object):
Parent class of all languages adapters
"""
_learn_xy_path = "/home/igor/git/github.com/adambard/learnxinyminutes-docs"
_learn_xy_path = os.path.join(MYDIR, "cheatsheets/learnxinyminutes-docs")
_replace_with = {}
_filename = ''
prefix = ''