Skip to content

Commit debd4a4

Browse files
Fixed Broken UpdateSources and UpdateAllSources
1 parent 6d22673 commit debd4a4

32 files changed

+54
-46
lines changed

DBS.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
from errite.tools.startupTools import checkStartUpFiles
3333
import urllib
3434

35-
print("DeviantCord DBS V2.0.2")
35+
print("DeviantCord DBS V2.0.3")
3636
print("Developed by Errite Softworks LLC")
3737
clientid = None
3838
db_connection = None
@@ -183,7 +183,6 @@ async def get_rabbit_channel() -> aio_pika.Channel:
183183
get_query = "select * from deviantcord.deviation_data WHERE NOT disabled = true AND shard_id = %s;"
184184
get_cursor.execute(get_query,(shard_id,))
185185
obt_results = get_cursor.fetchall()
186-
source_cursor = db_connection.cursor()
187186
updateSources(db_connection, obt_results, token)
188187
db_connection.commit()
189188
get_query = "SELECT * from deviantcord.deviation_data_all WHERE NOT disabled = true AND shard_id = %s;"
-1 Bytes
Binary file not shown.
-1 Bytes
Binary file not shown.
-1 Bytes
Binary file not shown.
-1 Bytes
Binary file not shown.
-1 Bytes
Binary file not shown.
35 Bytes
Binary file not shown.
-1 Bytes
Binary file not shown.
-1 Bytes
Binary file not shown.
-1 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)