From 4f1b4978ebe387706fff57751753134294d02800 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=20R=C3=B6mgens?= Date: Wed, 11 Nov 2015 18:55:18 +0100 Subject: [PATCH] Fix pep8 style warnings --- hemresadapter.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hemresadapter.py b/hemresadapter.py index f4acf84..373051a 100644 --- a/hemresadapter.py +++ b/hemresadapter.py @@ -6,11 +6,12 @@ import subprocess import configparser + class HemresAdapter(object): def __init__(self): - SCRIPTDIR = os.path.dirname(os.path.realpath(__file__)) - config_path = os.path.join(SCRIPTDIR, 'ledenlijst.cfg') + scriptdir = os.path.dirname(os.path.realpath(__file__)) + config_path = os.path.join(scriptdir, 'ledenlijst.cfg') assert(os.path.exists(config_path)) config = configparser.RawConfigParser() config.read(config_path)