Fix hg_user lookup

The config section is called git.sr.ht::dispatch, not hg.sr.ht::dispatch.
2 files changed, 2 insertions(+), 2 deletions(-)

M hgsrht/submit.py
M hgsrht/urls.py
M hgsrht/submit.py +1 -1
@@ 71,7 71,7 @@ class HgBuildSubmitter(BuildSubmitterBas
 
     def get_clone_url(self):
         origin = get_origin("hg.sr.ht", external=True)
-        hg_user = cfg("hg.sr.ht::dispatch", "/usr/bin/hgsrht-keys", "hg:hg").split(":")[0]
+        hg_user = cfg("git.sr.ht::dispatch", "/usr/bin/hgsrht-keys", "hg:hg").split(":")[0]
         owner_name = self.repo.owner.canonical_name
         repo_name = self.repo.name
         if self.repo.visibility == RepoVisibility.PRIVATE:

          
M hgsrht/urls.py +1 -1
@@ 2,7 2,7 @@ from srht.config import cfg
 from scmsrht.urls import get_clone_urls
 
 origin_url = cfg("hg.sr.ht", "origin")
-hg_user = cfg("hg.sr.ht::dispatch", "/usr/bin/hgsrht-keys", "hg:hg").split(":")[0]
+hg_user = cfg("git.sr.ht::dispatch", "/usr/bin/hgsrht-keys", "hg:hg").split(":")[0]
 ssh_url_root = f'ssh://{hg_user}@'
 
 def clone_urls(repo):