-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
33 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +0,0 @@ | ||
from .auto import relogin | ||
from .cli import cli | ||
from .esurfing import ESurfing, login, logout, get_parameters | ||
from .gui import Gui | ||
from .log import log | ||
from .net import Net, is_online | ||
from .ocr import ocr_image | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
__version__ = "0.6.2" | ||
__date__ = "2023/04/02" | ||
__version__ = "0.6.3" | ||
__date__ = "2023/10/07" | ||
__url__ = "https://github.com/Pandaft/ESurfingPy-CLI/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
import requests | ||
from psutil import net_io_counters | ||
|
||
from .log import log | ||
from . import log | ||
|
||
|
||
class Net: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
import sys | ||
|
||
import esurfingpy | ||
from esurfingpy import log | ||
from esurfingpy.cli import cli, Gui | ||
|
||
if __name__ == '__main__': | ||
if len(sys.argv) == 1: | ||
esurfingpy.log.warning("无参数运行,即将打开图形界面……") | ||
esurfingpy.Gui().run() | ||
log.warning("无参数运行,即将打开图形界面……") | ||
Gui().run() | ||
else: | ||
esurfingpy.cli() | ||
cli() |