Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

demo/gittk.py doesn't work (but I fixed it) #41

Closed
jeffwright13 opened this issue Apr 19, 2022 · 1 comment
Closed

demo/gittk.py doesn't work (but I fixed it) #41

jeffwright13 opened this issue Apr 19, 2022 · 1 comment

Comments

@jeffwright13
Copy link

This demo (python gittk.py) doesn't run correctly due to two errors:

  1. The call to git.Repo is made with . as its argument, so if you are in a subdirectory of the repo (like, in the /demo folder), it fails. Fix is to add search_parent_directories to Line 38:

repo = git.Repo('.', search_parent_directories=True)

  1. Line 97 has syntax errors, and should be:

diffText.setText(line)

AFter making those changes, it seems to work.

@ceccopierangiolieugenio
Copy link
Owner

I haven't adapted gittk to the reworked TTkTextEdit and TTkString.
Fix delivered in: e19e3ad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants