diff options
| author | Jacob McDonnell <jacob@simplelittledream.com> | 2022-09-29 20:05:07 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@simplelittledream.com> | 2022-09-29 20:05:07 -0400 |
| commit | ed317860178fe187a97fddda3d7b98fa5412a0b2 (patch) | |
| tree | d527a59d1bf8b40278fd9fe08c31b358dd795e5e /settings.py | |
| parent | ae68206ea5aad328c906353dced9a1513d93e105 (diff) | |
Fixed Circular Import
Diffstat (limited to 'settings.py')
| -rw-r--r-- | settings.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/settings.py b/settings.py index af93b33..c5ed5c7 100644 --- a/settings.py +++ b/settings.py @@ -1,8 +1,4 @@ import json -from main import printer -from ipqr import getQrCode -from PIL import Image -from textwrap import fill settingsJSON = open('settings.json') @@ -16,14 +12,3 @@ general = settings["general"] lineWidth = settings["general"]["Line Width"] settingsJSON.close() - - -def printSettingsPage(): - printer.println("Settings") - try: - getQrCode() - qr = Image.open(r"ipqr.png") - printer.println(fill("Scan the QR Code below to access settings", lineWidth)) - printer.printImage(qr) - except: - printer.println("No Network Connection") |
