remove dev file

This commit is contained in:
sangge-rockpi 2024-01-18 22:35:01 +08:00
parent 95c7f84451
commit 99b6b3f887

View File

@ -1,12 +0,0 @@
from gitea import *
URL = "https://git.mamahaha.work"
TOKEN = open("token.log", "r").read().strip()
gitea_connect = Gitea(URL, TOKEN)
print("Gitea Version: " + gitea_connect.get_version())
print("API-Token belongs to user: " + gitea_connect.get_user().username)
#repository = "sangge/tpre-python"
#target_branch = "main"
#gitea_repo = gitea_connect.get_repo(str(repository))
#gitea_branch = gitea_repo.get_branch(target_branch)
#print(gitea_branch)