diff options
| author | yo mama <pepper@scannerjammer.com> | 2015-09-22 20:28:06 -0700 |
|---|---|---|
| committer | yo mama <pepper@scannerjammer.com> | 2015-09-22 20:28:06 -0700 |
| commit | 301fc6b40e2465e26981e299838c7d58d0bbeb2c (patch) | |
| tree | 8c7b141f3396b5c0b26aa08161e0b47e04b894a7 /lib/Pb/__init__.py | |
| parent | 87f7b452be8e9e2a59f178236a510747739c4a37 (diff) | |
ok it works!
Diffstat (limited to 'lib/Pb/__init__.py')
| -rw-r--r-- | lib/Pb/__init__.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Pb/__init__.py b/lib/Pb/__init__.py index 1b3c79e..bfb9d36 100644 --- a/lib/Pb/__init__.py +++ b/lib/Pb/__init__.py @@ -165,10 +165,9 @@ class Pb(object): 'oldfile' : None, 'newfile' : self.filename, 'dataobj' : json.dumps(dict(self._input_kwargs)), - 'cmd' : ";".join(self.commands), + 'cmd' : "; ".join(self.commands), 'tag' : self._tag, } - sys.stderr.write(str(_insert_data)) db.insert_cmd(**_insert_data) except Exception as e: self.err_warn("Problem sending to database:\n %s" % str(e)) |
