mirror of
https://github.com/chubin/cheat.sh.git
synced 2026-06-20 13:16:44 +02:00
adapter_learnxiny updated to not use hardcoded path
This commit is contained in:
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user