mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
remove double negative in apmc file check
This commit is contained in:
@@ -162,7 +162,7 @@ if __name__ == '__main__':
|
|||||||
parser.add_argument("apmc_file", default=None, nargs='?', help="Path to an Archipelago Minecraft data file (.apmc)")
|
parser.add_argument("apmc_file", default=None, nargs='?', help="Path to an Archipelago Minecraft data file (.apmc)")
|
||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
apmc_file = os.path.abspath(args.apmc_file) if args.apmc_file is not None else None
|
apmc_file = os.path.abspath(args.apmc_file) if args.apmc_file else None
|
||||||
|
|
||||||
# Change to executable's working directory
|
# Change to executable's working directory
|
||||||
os.chdir(os.path.abspath(os.path.dirname(sys.argv[0])))
|
os.chdir(os.path.abspath(os.path.dirname(sys.argv[0])))
|
||||||
|
Reference in New Issue
Block a user