mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-07-01 17:41:20 -05:00
Add server version to master api
Add IsEvadedOffense to EFPenalty Fix remote log reading in not Windows
This commit is contained in:
17
Master/env_master/Lib/site-packages/timeago/excepts.py
Normal file
17
Master/env_master/Lib/site-packages/timeago/excepts.py
Normal file
@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
'''
|
||||
Created on 2016-5-26
|
||||
|
||||
@author: hustcc
|
||||
'''
|
||||
|
||||
|
||||
# parameter not valid
|
||||
class ParameterUnvalid(Exception):
|
||||
|
||||
def __init__(self, value):
|
||||
self.value = value
|
||||
|
||||
def __str__(self):
|
||||
return repr(self.value)
|
Reference in New Issue
Block a user