Webconfig: Fix initial tab

For some reason the url is now

http://localhost:$PORT/$RANDOM/#!/$TAB

while this created

http://localhost:$PORT/$RANDOM/#$TAB

which redirected to

http://localhost:$PORT/$RANDOM/#!/colors#$TAB

i.e. the "colors" tab with a useless unmatched anchor.
This commit is contained in:
Fabian Homborg 2021-05-01 15:05:17 +02:00
parent daa3ae4be1
commit e548dca686

View File

@ -1527,7 +1527,7 @@ if len(sys.argv) > 1:
"abbreviations",
]:
if tab.startswith(sys.argv[1]):
initial_tab = "#" + tab
initial_tab = "#!/" + tab
break
url = "http://localhost:%d/%s/%s" % (PORT, authkey, initial_tab)