diff options
author | rexxnor <rexxnor+gnunet@brief.li> | 2019-05-09 16:32:25 +0200 |
---|---|---|
committer | rexxnor <rexxnor+gnunet@brief.li> | 2019-05-09 16:32:25 +0200 |
commit | 4ab581df8f99d1fe65ce15fe5c60984ad358dba2 (patch) | |
tree | 45d73d830fc849189ed729fd824c35ac2293ab78 /ascension | |
parent | c5616a8283fb7e919c90c24c94bdd9113b80bbc4 (diff) | |
download | ascension-4ab581df8f99d1fe65ce15fe5c60984ad358dba2.tar.gz ascension-4ab581df8f99d1fe65ce15fe5c60984ad358dba2.zip |
bugfix
Diffstat (limited to 'ascension')
-rw-r--r-- | ascension/ascension.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ascension/ascension.py b/ascension/ascension.py index 5a22d4d..fe81f06 100644 --- a/ascension/ascension.py +++ b/ascension/ascension.py | |||
@@ -593,6 +593,7 @@ class Ascender(): | |||
593 | stdout=sp.PIPE, | 593 | stdout=sp.PIPE, |
594 | stderr=sp.DEVNULL) | 594 | stderr=sp.DEVNULL) |
595 | logging.info("executed command: %s", " ".join(ret.args)) | 595 | logging.info("executed command: %s", " ".join(ret.args)) |
596 | pkey_zone = ret.stdout.decode().strip() | ||
596 | except sp.CalledProcessError: | 597 | except sp.CalledProcessError: |
597 | output = ret.stdout.decode().strip() | 598 | output = ret.stdout.decode().strip() |
598 | pkey_zone = re.findall("^[\w\d]{52}$", output, re.M)[0] | 599 | pkey_zone = re.findall("^[\w\d]{52}$", output, re.M)[0] |