mirror of
https://github.com/chubin/cheat.sh.git
synced 2025-01-06 04:16:04 +03:00
import os to access os.path.join()
flake8 testing of https://github.com/chubin/cheat.sh on Python 3.7.0 $ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__ ``` ./lib/panela/panela_colors.py:636:16: F821 undefined name 'os' pagepath = os.join.path(MYDIR, "share/firstpage-v2.pnl") ^ 1 F821 undefined name 'os' 1 ```
This commit is contained in:
parent
3910cfe6eb
commit
604edfb7f7
@ -1,5 +1,6 @@
|
||||
# vim: encoding=utf-8
|
||||
|
||||
import os
|
||||
import sys
|
||||
import colored
|
||||
import itertools
|
||||
@ -633,7 +634,7 @@ class Template(object):
|
||||
def main():
|
||||
"Only for experiments"
|
||||
|
||||
pagepath = os.join.path(MYDIR, "share/firstpage-v2.pnl")
|
||||
pagepath = os.path.join(MYDIR, "share/firstpage-v2.pnl")
|
||||
template = Template()
|
||||
template.read(pagepath)
|
||||
template.apply_mask()
|
||||
|
Loading…
Reference in New Issue
Block a user