mirror of
https://github.com/chubin/cheat.sh.git
synced 2025-01-06 04:16:04 +03:00
panela_colors not using hardcoded path
This commit is contained in:
parent
fe5046d481
commit
65cf18ca95
@ -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())
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user