mirror of
https://github.com/DragonMinded/bemaniutils.git
synced 2026-09-29 04:16:34 -05:00
Update read.py to support possibly scraping from multiple different data releases given a single version.
This commit is contained in:
15
sampleclient
15
sampleclient
@@ -1,11 +1,12 @@
|
||||
#! /usr/bin/env python3
|
||||
if __name__ == "__main__":
|
||||
import os
|
||||
path = os.path.abspath(os.path.dirname(__file__))
|
||||
name = os.path.basename(__file__)
|
||||
import os
|
||||
path = os.path.abspath(os.path.dirname(__file__))
|
||||
name = os.path.basename(__file__)
|
||||
|
||||
import sys
|
||||
sys.path.append(path)
|
||||
import sys
|
||||
sys.path.append(path)
|
||||
os.environ["SQLALCHEMY_SILENCE_UBER_WARNING"] = "1"
|
||||
|
||||
import runpy
|
||||
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
||||
import runpy
|
||||
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
||||
|
||||
Reference in New Issue
Block a user