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

panela_colors not using hardcoded path

This commit is contained in:
Brandon Lopez
2018-07-27 16:17:21 -07:00
parent fe5046d481
commit 65cf18ca95
+3 -1
View File
@@ -3,6 +3,7 @@
import sys
import colored
import itertools
from globals import MYDIR
"""
@@ -632,8 +633,9 @@ class Template(object):
def main():
"Only for experiments"
pagepath = os.join.path(MYDIR, "share/firstpage-v2.pnl")
template = Template()
template.read("/home/igor/cheat.sh/share/firstpage-v2.pnl")
template.read(pagepath)
template.apply_mask()
sys.stdout.write(template.show())