Skip to content

Commit

Permalink
Fix symlinks and Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
suchow committed Apr 30, 2014
1 parent e8f93e8 commit b3eabea
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ install:
- sudo cp -r assets/fonts/* /usr/local/share/fonts/
- sudo fc-cache -f -v
- sudo apt-get install texlive-full
- pip install python-docx
- sudo pip install python-docx
deploy:
provider: s3
access_key_id: AKIAI6DXQYKG4LOZCCSA
Expand Down
Empty file added assets/__init__.py
Empty file.
Empty file added scripts/__init__.py
Empty file.
2 changes: 1 addition & 1 deletion scripts/build
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ do
# # Create Word template
worddir="Dissertate-${dir##*/}-Word"
mkdir $worddir
python ../scripts/dissertate-word/dissertate-word.py --school ${dir##*/}
python ../scripts/dissertate-word.py --school ${dir##*/}
cp dissertation.docx $worddir/dissertation.docx
rm dissertation.docx

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env python
import optparse
import importlib
import os


def main():
Expand All @@ -13,7 +14,7 @@ def main():


def createTemplate(option, opt_str, schoolName, parser):
SchoolPackage = importlib.import_module("Schools." + schoolName + ".word")
SchoolPackage = importlib.import_module("schools." + schoolName + ".word")
template = SchoolPackage.Template()
template.fill()
template.save()
Expand Down
1 change: 0 additions & 1 deletion scripts/dissertate-word/Schools

This file was deleted.

1 change: 1 addition & 0 deletions scripts/schools

0 comments on commit b3eabea

Please sign in to comment.