mirror of
https://github.com/chubin/cheat.sh.git
synced 2025-01-06 04:16:04 +03:00
adapter_learnxiny updated to not use hardcoded path
This commit is contained in:
parent
3e5641470a
commit
2a56f02751
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user