From 282db3cdb50bf8d84d62e12d676f94bafea78bb2 Mon Sep 17 00:00:00 2001 From: KRKeegan <-NOSPAM-kevin@krkeegan.com> Date: Fri, 28 Mar 2008 23:29:59 -0700 Subject: [PATCH] Do not make shares of dot folders with auto_subshares Fixes 945 --- config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.py b/config.py index 8e6ca94..dc0b2fa 100644 --- a/config.py +++ b/config.py @@ -72,7 +72,7 @@ def getShares(tsn=''): try: for item in os.listdir(base_path): item_path = os.path.join(base_path, item) - if not os.path.isdir(item_path): + if not os.path.isdir(item_path) or item.startswith('.'): continue new_name = name + '/' + item -- 2.11.4.GIT