Skip to content
This repository was archived by the owner on Mar 11, 2022. It is now read-only.

Commit 9b8046a

Browse files
authored
Add files via upload
1 parent 8dad481 commit 9b8046a

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

Basic/__init__.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
from sys import path
2-
from os.path import dirname
2+
from os.path import dirname, basename, isfile, join
3+
import glob
34

45
path.append(dirname(path[0]))
6+
7+
8+
modules = glob.glob(join(dirname(__file__), "*.py"))
9+
__all__ = [ basename(f)[:-3] for f in modules if isfile(f) and not f.endswith('__init__.py')]

Basic/bid.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,6 @@ def bid_specific_auction(server, auction_id_or_link, price, delay=True):
3434
auction_id = input("Auction id: ")
3535
price = input("Your bid: ")
3636
delay = input("Bid near auctions end? (y/n): ")
37+
delay = True if delay.lower() == "y" else False
3738
bid_specific_auction(server, auction_id, price, delay=False if delay == "n" else True)
3839
input("Press any key to continue")

Basic/rw.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
import __init__
12
from login import login
2-
from fly import fly
3+
from Basic.fly import fly
34

45
def rw(server, region_id, ticket_quality="5", session=""):
56
"""

0 commit comments

Comments
 (0)