Skip to content

Commit

Permalink
Made the server a little less obsessive about where it's templates ar…
Browse files Browse the repository at this point in the history
…e placed.
  • Loading branch information
chrisnorman7 committed Oct 20, 2016
1 parent 41620c3 commit e89f12e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion application.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import wx

name = 'GMP3'
__version__ = '4.0.0'
__version__ = '4.1.0'
url = 'https://github.com/chrisnorman7/gmp3'


Expand Down
2 changes: 1 addition & 1 deletion server/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

logger = logging.getLogger(__name__)

environment = Environment(loader = loaders.FileSystemLoader(os.path.join(os.path.dirname(__file__), 'templates')))
environment = Environment(loader = loaders.FileSystemLoader(os.path.join('server', 'templates')))
environment.globals['app_name'] = application.name
environment.globals['app_version'] = application.__version__
environment.globals['app_url'] = application.url
Expand Down

0 comments on commit e89f12e

Please sign in to comment.