Skip to content

Commit

Permalink
Fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
UmSenhorQualquer committed Feb 1, 2019
1 parent 703193a commit 4873957
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyforms_terminal/basewidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@
import argparse, uuid, os, shutil, time, sys, subprocess
import simplejson as json

import logging

logger=logging.getLogger(__file__)

try:
import requests
except Exception as e:
import logging
logger=logging.getLogger(__file__)

logger.warning("No requests lib")
logger.error(e, exc_info=True)

Expand Down Expand Up @@ -183,7 +184,6 @@ def end_progress(self):
self.update_progress()



def __savePID(self, pid):
try:
with open('pending_PID.txt', 'w') as f:
Expand Down

0 comments on commit 4873957

Please sign in to comment.