Skip to content
This repository was archived by the owner on Mar 31, 2020. It is now read-only.

Commit b095e9f

Browse files
committed
Fix file select, Suhail's changes
1 parent 8cfe3eb commit b095e9f

File tree

4 files changed

+29
-4
lines changed

4 files changed

+29
-4
lines changed

Pipfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ verify_ssl = true
77
flake8 = "*"
88

99
[packages]
10+
asynctk = "==0.0.8a0"
1011

1112
[requires]
1213
python_version = "3.7"
1314

1415
[scripts]
15-
lint = "python -m flake8"
16+
lint = "python -m flake8"

Pipfile.lock

Lines changed: 19 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

project/__main__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import asynctk as tk
2+
import asyncio
3+
4+
root = tk.AsyncTk()
5+
async def save():
6+
print('test')
7+
root.protocol("WM_DELETE_WINDOW", lambda: asyncio.ensure_future(save()))
8+
root.mainloop()

requirements.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)