Skip to content

Commit

Permalink
Remove copyright from the examples
Browse files Browse the repository at this point in the history
  • Loading branch information
laffra committed Nov 15, 2023
1 parent 6bd2c14 commit 27ce941
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/app.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# LTK - Copyrights Reserved 2023 - chrislaffra.com - See LICENSE

import ltk

def create():
Expand Down
1 change: 1 addition & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ def cleanup(src):

def getsource(file):
def setsource(src):
src = "\n".join(src.split("\n")[2:])
ltk.find(f'textarea[file="{file}"]').val(src)

ltk.get(file, setsource, "html")
Expand Down

0 comments on commit 27ce941

Please sign in to comment.