Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/a/d/AdminCraft-HEAD/admincraft/views.py   AdminCraft(Download)
 
    #Read ops.txt to display Server Operators on Users section.
    opsFile = config.MINECRAFTDIR + config.SERVEROPS
    ops = open(opsFile, "r").readlines()
    ops = [i.rstrip() for i in ops]
 
    #Read ops.txt to display Server Operators on Users section.
    opsFile = config.MINECRAFTDIR + config.SERVEROPS
    ops = open(opsFile, "r").readlines()
    ops = [i.rstrip() for i in ops]
 
    if addType == "operators":
        f = config.MINECRAFTDIR + config.SERVEROPS
    elif addType == "whitelist":
        f =  config.MINECRAFTDIR + config.WHITELIST
 
    if removeType == "operators":
        f = config.MINECRAFTDIR + config.SERVEROPS
    elif removeType == "whitelist":
        f =  config.MINECRAFTDIR + config.WHITELIST