forked from expo/troggle
cleaning unused settings
This commit is contained in:
@@ -68,6 +68,9 @@ def get_or_create_placeholder(year):
|
||||
return placeholder_logbook_entry
|
||||
|
||||
def listdir(*directories):
|
||||
'''WHAT is this ?! Some python2 fossil. The only use of settings.SURVEYS
|
||||
local import statement to be avoided, please.
|
||||
'''
|
||||
try:
|
||||
return os.listdir(os.path.join(settings.SURVEYS, *directories))
|
||||
except:
|
||||
|
||||
Reference in New Issue
Block a user