mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
make tool scripts working-directory agnostic
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
pathToMtgData = "mtg-data.txt"
|
||||
|
||||
############IMPLEMENTATION FOLLOWS############
|
||||
import os,sys,fnmatch
|
||||
import re
|
||||
|
||||
pathToMtgData = os.path.join(sys.path[0], "mtg-data.txt")
|
||||
|
||||
class Card:
|
||||
def __init__(self, name):
|
||||
self.name = name
|
||||
|
||||
Reference in New Issue
Block a user