Permalink
Browse files

Fixing join.

  • Loading branch information...
1 parent 9bc0372 commit 59bf62ddcc3c64f69d4464fb8a667a77290352bf @heynemann heynemann committed with Aug 8, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 thumbor/loaders/file_loader.py
@@ -13,4 +13,4 @@
from thumbor.config import conf
def load(path,callback):
- callback(open(join(conf.FILE_LOADER_ROOT_PATH, path)).read())
+ callback(open(join(conf.FILE_LOADER_ROOT_PATH.rstrip('/'), path.lstrip('/'))).read())

0 comments on commit 59bf62d

Please sign in to comment.