Skip to content

Commit

Permalink
default path
Browse files Browse the repository at this point in the history
  • Loading branch information
gigamaster committed Oct 19, 2024
1 parent f749339 commit dec2b62
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@ def main():
subdirname + "</a>" +
"</th><td></td><td></td>")

f.write("<td class=\"text-center\">" +
if os.path.dirname("."):
f.write("<td></td></tr>\n")
else:
f.write("<td class=\"text-center\">" +
"<a class=\"download m-1 mb-1 py-1 bg-gray-100 rounded-md hover:text-light hover:bg-primary dark:bg-dark dark:hover:bg-dark dark:hover:text-light\" @click=\"GitZip.zipRepo('" + uFolder + folderZip + "'); await $nextTick(); $notify('Downloading folder...')\" title=\"Download Folder\">" +
"<span class=\"icon-download w-4 h-4 mx-2\"></span></a>" +
"</td></tr>\n")
Expand Down

0 comments on commit dec2b62

Please sign in to comment.