Refactoring with sourceryAI

This commit is contained in:
Rhet Turnbull
2020-06-01 21:06:09 -07:00
parent ec727cc556
commit 5c7a0c3a24
13 changed files with 182 additions and 216 deletions

View File

@@ -445,10 +445,7 @@ class ExportDB(ExportDB_ABC):
dt = datetime.datetime.utcnow().isoformat()
python_path = sys.executable
cmd = sys.argv[0]
if len(sys.argv) > 1:
args = " ".join(sys.argv[1:])
else:
args = ""
args = " ".join(sys.argv[1:]) if len(sys.argv) > 1 else ""
cwd = os.getcwd()
conn = self._conn
try: