jade012 commited on
Commit
7929ae5
·
verified ·
1 Parent(s): 402cc8d

Update src/main.py

Browse files
Files changed (1) hide show
  1. src/main.py +0 -15
src/main.py CHANGED
@@ -50,20 +50,5 @@ def main():
50
 
51
  connection.send_bytes(packet )
52
 
53
-
54
- def get_git_remote_url():
55
- try:
56
- # Load the current repository
57
- repo = Repo(".")
58
-
59
- # Get the remote named 'origin'
60
- remote = repo.remotes.origin
61
-
62
- # Return the URL of the remote
63
- return remote.url
64
- except Exception as e:
65
- print(f"Error: {e}")
66
- return None
67
-
68
  if __name__ == '__main__':
69
  main()
 
50
 
51
  connection.send_bytes(packet )
52
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
  if __name__ == '__main__':
54
  main()