diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9b925c8..ddf9852 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,4 +26,7 @@ jobs: - name: code quality checkout run: | pip install pylint - pylint ./pandora-box.py + ls + pwd + pylint ./pandora-box/pandora-box.py + diff --git a/pandora-box.py b/pandora-box.py index d4d1db4..48d711f 100755 --- a/pandora-box.py +++ b/pandora-box.py @@ -470,7 +470,7 @@ def wait_device(): # -------------------------------------- def mount(): - global device, mount_point + global mount_point # Mount device mount_point = mount_device() log('Partition mounted at %s' % mount_point) @@ -480,7 +480,7 @@ def mount(): display_image("WAIT") return "WAIT" try: - statvfs=os.statvfs(mount_point) + os.statvfs(mount_point) except Exception as e : log("error=%s" % e) logging.info("An exception was thrown!", exc_info=True) @@ -577,7 +577,7 @@ def loop(state): # -------------------------------------- """Main entry point""" -def main(stdscr): +def main(): try : state="START" while (state!="STOP"):