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

Commit 39f06c3

Browse files
authored
Merge pull request #23 from Nickwasused/development
--changed database type to integer
2 parents 7a5c535 + 253c563 commit 39f06c3

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

Diff for: README.md

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
Searching SteamDB for Free Games and Activating them using ArchiSteamFarm
66

7+
# Database Change!
8+
You need to remove your old database file (freegames.db)
9+
710
# Python Versions
811

912
| Version | Supported |

Diff for: examples/example.db

0 Bytes
Binary file not shown.

Diff for: examples/example.jpg

-53.9 KB
Loading

Diff for: steam.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def createbotprofile(bot):
197197
else:
198198
try:
199199
database.execute('''CREATE TABLE "{}"
200-
(appids TEXT UNIQUE)'''.format(bot))
200+
(appids INTEGER UNIQUE)'''.format(bot))
201201
database.commit()
202202
logwrite('Created Database for Bot: {}'.format(bot))
203203
except sqlite3.OperationalError:

0 commit comments

Comments
 (0)