mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Fixed bug #1015151.
This commit is contained in:
parent
dbc3b59499
commit
3313080eef
@ -69,8 +69,7 @@ def configure(advanced):
|
||||
while yn('Would you like to add a file?'):
|
||||
filename = something('What\'s the filename?')
|
||||
try:
|
||||
dataDir = conf.supybot.directories.data()
|
||||
fd = file(os.path.join(dataDir, filename))
|
||||
fd = file(filename)
|
||||
except EnvironmentError, e:
|
||||
output('I couldn\'t open that file: %s' % e)
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user