Skip to content

Commit 6745e24

Browse files
committed
if empty string get current folder
1 parent bb7c1a7 commit 6745e24

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

netpyne_ui/netpyne_geppetto.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ def getPlotSettings(self, plot):
357357

358358
def getDirList(self, dir=None, onlyDirs = False, filterFiles=False):
359359
# Get Current dir
360-
if dir == None:
360+
if dir == None or dir == '':
361361
dir = os.getcwd()
362362
dir_list = []
363363
for f in sorted(os.listdir(str(dir)), key=str.lower):

0 commit comments

Comments
 (0)