diff options
author | Kali Kaneko <kali@leap.se> | 2015-09-17 22:53:38 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2015-09-17 22:54:05 -0400 |
commit | 905059dcc203680f86316c83d538f14896adb928 (patch) | |
tree | 3374bb215eacf9bc92840958b48f892a81998525 /src/leap/bitmask/util/__init__.py | |
parent | 10f6f5b17e0ac1d5d4b433a428efc1beffd999a7 (diff) |
[style] pep8 fixes
Diffstat (limited to 'src/leap/bitmask/util/__init__.py')
-rw-r--r-- | src/leap/bitmask/util/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/bitmask/util/__init__.py b/src/leap/bitmask/util/__init__.py index 9853803a..b788abd0 100644 --- a/src/leap/bitmask/util/__init__.py +++ b/src/leap/bitmask/util/__init__.py @@ -156,6 +156,7 @@ def flags_to_dict(): return values + def here(module=None): if getattr(sys, 'frozen', False): # we are running in a |PyInstaller| bundle @@ -163,6 +164,6 @@ def here(module=None): else: dirname = os.path.dirname if module: - return dirname(module.__file__) + return dirname(module.__file__) else: return dirname(__file__) |