Skip to content

Commit 4da1a03

Browse files
committed
Ok made one more commit
1 parent 758bc0e commit 4da1a03

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

xdeltapatcherpython.py

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,6 @@
55
from github import *
66

77

8-
login = input("Enter your GitHub username: ")
9-
password = input("Enter your GitHub password: ")
10-
11-
g = github.Github(login, password)
12-
13-
14-
repo = g.get_user().get_repo("")
15-
file = repo.get_file_contents("/your_file.txt")
16-
17-
# update
18-
repo.update_file("/your_file.txt", "your_commit_message", "your_new_file_content", file.sha)
198

209
class ToplevelWindow(customtkinter.CTkToplevel):
2110
def __init__(self, *args, **kwargs):
@@ -52,7 +41,7 @@ def __init__(self, *args, **kwargs):
5241

5342
dropdown1.add_option(option="Exit", command=self.quit)
5443

55-
# Dropdown for 'About'
44+
5645
dropdown2 = CustomDropdownMenu(widget=button_2)
5746
dropdown2.add_option("Open About Window", command=self.open_toplevel)
5847

0 commit comments

Comments
 (0)