mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 17:12:13 -06:00
dodge python-bug #7980
This commit is contained in:
parent
7d9057cc62
commit
5aadd47199
|
@ -906,6 +906,7 @@ class TheArgparseFormatter(
|
|||
|
||||
def main():
|
||||
global info, log, dbg
|
||||
time.strptime("19970815", "%Y%m%d") # python#7980
|
||||
|
||||
# filecache helps for reads that are ~64k or smaller;
|
||||
# linux generally does 128k so the cache is a slowdown,
|
||||
|
|
|
@ -567,6 +567,8 @@ class CPPF(Fuse):
|
|||
|
||||
|
||||
def main():
|
||||
time.strptime("19970815", "%Y%m%d") # python#7980
|
||||
|
||||
server = CPPF()
|
||||
server.parser.add_option(mountopt="url", metavar="BASE_URL", default=None)
|
||||
server.parse(values=server, errex=1)
|
||||
|
|
|
@ -9,6 +9,7 @@ __license__ = "MIT"
|
|||
__url__ = "https://github.com/9001/copyparty/"
|
||||
|
||||
import os
|
||||
import time
|
||||
import shutil
|
||||
import filecmp
|
||||
import locale
|
||||
|
@ -85,6 +86,7 @@ def ensure_cert():
|
|||
|
||||
|
||||
def main():
|
||||
time.strptime("19970815", "%Y%m%d") # python#7980
|
||||
if WINDOWS:
|
||||
os.system("") # enables colors
|
||||
|
||||
|
|
Loading…
Reference in a new issue