Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Code beautification
  • Loading branch information
Klaus Thoden committed Oct 30, 2017
1 parent 69f3e2c commit 208c9e2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tralics2django.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
# -*- coding: utf-8; mode: python -*-
# Time-stamp: <2017-10-30 11:56:28 (kthoden)>
# Time-stamp: <2017-10-30 13:13:43 (kthoden)>

import pickle
import os
Expand All @@ -26,7 +26,6 @@
if args.CONFIG_FILE is not None:
CONFIG_FILE = os.path.abspath(args.CONFIG_FILE)
else:
# CONFIG_FILE = "/Users/kthoden/EOAKram/dev/EOASkripts/Skripten/eoaconvert.cfg"
CONFIG_FILE = os.path.dirname(sys.argv[0]) + "/config/eoaconvert.cfg"

print("The configfile is ", CONFIG_FILE)
Expand All @@ -43,6 +42,9 @@
GM_PATH = CONFIG['Executables']['graphicsmagic']
TL_PATH = CONFIG['Executables']['texlive']

###########################################
# Loading data from first conversion step #
###########################################
with open('tmp_files/data.pickle', 'rb') as f:
data = pickle.load(f)

Expand Down

0 comments on commit 208c9e2

Please sign in to comment.