소스 검색

Fix getDirname description

shortcutme 6 년 전
부모
커밋
4c7500e248
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/util/helper.py

+ 1 - 1
src/util/helper.py

@@ -110,7 +110,7 @@ def unpackOnionAddress(packed):
 
 
 # Get dir from file
-# Return: data/site/content.json -> data/site
+# Return: data/site/content.json -> data/site/
 def getDirname(path):
     if "/" in path:
         return path[:path.rfind("/") + 1]